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