// @flow import React from 'react'; import PostEditor from 'component/postEditor'; import Card from 'component/common/card'; import { FormField } from 'component/common/form'; import PublishName from 'component/publish/shared/publishName'; import classnames from 'classnames'; type Props = { uri: ?string, title: ?string, balance: number, fileMimeType: ?string, doUpdatePublishForm: ({}) => void, disabled: boolean, setPrevFileText: (string) => void, }; function PublishPost(props: Props) { const { uri, title, balance, fileMimeType, doUpdatePublishForm: updatePublishForm, disabled, setPrevFileText, } = props; function handleTitleChange(event) { updatePublishForm({ title: event.target.value }); } return ( } /> ); } export default PublishPost;