import AmityPostComposerPage from '../../features/post/Composer';
import { AmityPostComposerMode } from '../../types';
function CreatePost({
  route
}) {
  const {
    community,
    targetId,
    targetType
  } = route.params;
  return /*#__PURE__*/React.createElement(AmityPostComposerPage, {
    mode: AmityPostComposerMode.CREATE,
    targetId: targetId,
    targetType: targetType,
    community: community
  });
}
export default CreatePost;
//# sourceMappingURL=index.js.map