import { View } from 'react-native';
import { ComponentID, PageID } from '../../../../enums/enumUIKitID';
import { useAmityComponent } from '../../../../hooks';
import { ChangeThumbnailButton } from '../../../../elements/ChangeThumbnailButton';
import { DeleteThumbnailButton } from '../../../../elements/DeleteThumbnailButton';
import { useStyles } from './styles';
const AmityThumbnailActionComponent = ({
  onChangeThumbnail,
  onDeleteThumbnail,
  pageId = PageID.WildCardPage
}) => {
  const componentId = ComponentID.thumbnail_action;
  const {
    themeStyles
  } = useAmityComponent({
    pageId,
    componentId
  });
  const styles = useStyles(themeStyles);
  return /*#__PURE__*/React.createElement(View, {
    style: styles.container
  }, /*#__PURE__*/React.createElement(ChangeThumbnailButton, {
    componentId: componentId,
    onPress: onChangeThumbnail
  }), /*#__PURE__*/React.createElement(DeleteThumbnailButton, {
    componentId: componentId,
    onPress: onDeleteThumbnail
  }));
};
export default AmityThumbnailActionComponent;
//# sourceMappingURL=ThumbnailAction.js.map