import { useStyles } from './styles';
import AmityPostEngagementActionsComponent from '../EngagementActions/EngagementActions';
import { AmityPostContentComponentStyleEnum } from '../../../../enums/AmityPostContentComponentStyle';
import { ComponentID, PageID } from '../../../../enums';
import CommentList from '../../../../components/Social/CommentList/CommentList';
import { SafeAreaView } from 'react-native-safe-area-context';
function AmityPostEngagementContentComponent({
  postId,
  targetId,
  targetType,
  postType = 'post'
}) {
  const {
    styles
  } = useStyles();
  return /*#__PURE__*/React.createElement(SafeAreaView, {
    style: styles.container,
    edges: ['top']
  }, /*#__PURE__*/React.createElement(AmityPostEngagementActionsComponent, {
    postId: postId,
    targetId: targetId,
    targetType: targetType,
    pageId: PageID.post_detail_page,
    componentId: ComponentID.post_content,
    AmityPostContentComponentStyle: AmityPostContentComponentStyleEnum.detail
  }), /*#__PURE__*/React.createElement(CommentList, {
    postId: postId,
    postType: postType,
    withAvatar: true
  }));
}
export default AmityPostEngagementContentComponent;
//# sourceMappingURL=EngagementContent.js.map