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 { close } from '../../../core/assets/icons';
import { useAmityElement } from '../../hooks';
import { ComponentID, ElementID, PageID } from '../../enums';
import { TouchableOpacity } from 'react-native';
function CancelCreateLivestreamButton({
  pageId = PageID.WildCardPage,
  componentId = ComponentID.WildCardComponent,
  ...props
}) {
  const elementId = ElementID.cancel_create_livestream_button;
  const styles = useStyles();
  const {
    accessibilityId,
    themeStyles
  } = useAmityElement({
    pageId,
    componentId,
    elementId
  });
  return /*#__PURE__*/React.createElement(TouchableOpacity, _extends({
    activeOpacity: 0.7,
    style: styles.button,
    testID: accessibilityId
  }, props), /*#__PURE__*/React.createElement(SvgXml, {
    width: 24,
    height: 24,
    xml: close(),
    color: themeStyles.colors.background
  }));
}
export default CancelCreateLivestreamButton;
//# sourceMappingURL=CancelCreateLivestreamButton.js.map