import { memo } from 'react';
import { ComponentID, ElementID, PageID } from '../../enums/enumUIKitID';
import { useAmityElement } from '../../hooks';
import { Button, BUTTON_SIZE } from '../../components/Button/Button';
import { useNavigation } from '@react-navigation/native';
const LivestreamTerminatedActionButton = ({
  pageId = PageID.WildCardPage,
  componentId = ComponentID.WildCardComponent
}) => {
  const {
    accessibilityId
  } = useAmityElement({
    pageId,
    componentId,
    elementId: ElementID.livestream_terminated_action_button
  });
  const navigation = useNavigation();
  return /*#__PURE__*/React.createElement(Button, {
    type: "primary",
    testID: accessibilityId,
    size: BUTTON_SIZE.LARGE,
    onPress: () => navigation.goBack()
  }, "OK");
};
export default /*#__PURE__*/memo(LivestreamTerminatedActionButton);
//# sourceMappingURL=LivestreamTerminatedActionButton.js.map