"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
var _enumUIKitID = require("../../../../enums/enumUIKitID");
var _hooks = require("../../../../hooks");
var _ChangeThumbnailButton = require("../../../../elements/ChangeThumbnailButton");
var _DeleteThumbnailButton = require("../../../../elements/DeleteThumbnailButton");
var _styles = require("./styles");
const AmityThumbnailActionComponent = ({
  onChangeThumbnail,
  onDeleteThumbnail,
  pageId = _enumUIKitID.PageID.WildCardPage
}) => {
  const componentId = _enumUIKitID.ComponentID.thumbnail_action;
  const {
    themeStyles
  } = (0, _hooks.useAmityComponent)({
    pageId,
    componentId
  });
  const styles = (0, _styles.useStyles)(themeStyles);
  return /*#__PURE__*/React.createElement(_reactNative.View, {
    style: styles.container
  }, /*#__PURE__*/React.createElement(_ChangeThumbnailButton.ChangeThumbnailButton, {
    componentId: componentId,
    onPress: onChangeThumbnail
  }), /*#__PURE__*/React.createElement(_DeleteThumbnailButton.DeleteThumbnailButton, {
    componentId: componentId,
    onPress: onDeleteThumbnail
  }));
};
var _default = exports.default = AmityThumbnailActionComponent;
//# sourceMappingURL=ThumbnailAction.js.map