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 { useAmityElement } from '../../hooks';
import { ComponentID, ElementID, PageID } from '../../enums';
import { TouchableOpacity } from 'react-native';
import { Typography } from '../../../core/components/Typography/Typography';
function EndLiveStreamButton({
  pageId = PageID.WildCardPage,
  componentId = ComponentID.WildCardComponent,
  ...props
}) {
  const elementId = ElementID.end_live_stream_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(Typography.BodyBold, {
    style: styles.label
  }, "End live"));
}
export default EndLiveStreamButton;
//# sourceMappingURL=EndLiveStreamButton.js.map