"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = require("react");
var _enumUIKitID = require("../../enums/enumUIKitID");
var _hooks = require("../../hooks");
var _Button = require("../../components/Button/Button");
var _native = require("@react-navigation/native");
const LivestreamTerminatedActionButton = ({
  pageId = _enumUIKitID.PageID.WildCardPage,
  componentId = _enumUIKitID.ComponentID.WildCardComponent
}) => {
  const {
    accessibilityId
  } = (0, _hooks.useAmityElement)({
    pageId,
    componentId,
    elementId: _enumUIKitID.ElementID.livestream_terminated_action_button
  });
  const navigation = (0, _native.useNavigation)();
  return /*#__PURE__*/React.createElement(_Button.Button, {
    type: "primary",
    testID: accessibilityId,
    size: _Button.BUTTON_SIZE.LARGE,
    onPress: () => navigation.goBack()
  }, "OK");
};
var _default = exports.default = /*#__PURE__*/(0, _react.memo)(LivestreamTerminatedActionButton);
//# sourceMappingURL=LivestreamTerminatedActionButton.js.map