function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
import { useStyles } from './styles';
import { SvgXml } from 'react-native-svg';
import { useAmityElement } from '../../hooks';
import { TouchableOpacity } from 'react-native';
import { ComponentID, ElementID, PageID } from '../../enums';
import { thumbnail } from '../../../core/assets/icons';
import { Typography } from '../../../core/components/Typography/Typography';
function AddThumbnailButton({
  pageId = PageID.WildCardPage,
  componentId = ComponentID.WildCardComponent,
  ...props
}) {
  const elementId = ElementID.add_thumbnail_button;
  const {
    accessibilityId,
    themeStyles
  } = useAmityElement({
    pageId,
    componentId,
    elementId
  });
  const styles = useStyles(themeStyles);
  return /*#__PURE__*/React.createElement(TouchableOpacity, _extends({
    activeOpacity: 0.7,
    style: styles.button,
    testID: accessibilityId
  }, props), /*#__PURE__*/React.createElement(SvgXml, {
    width: 30,
    height: 30,
    xml: thumbnail(),
    color: themeStyles.colors.background
  }), /*#__PURE__*/React.createElement(Typography.CaptionBold, {
    style: styles.label
  }, "Add thumbnail"));
}
export default AddThumbnailButton;
//# sourceMappingURL=AddThumbnailButton.js.map