import React, { useState } from 'react' import { Card, CardContent, TextField, Button } from '@material-ui/core' import SendIcon from '@material-ui/icons/Send' export default function CreatePost() { const [title, setTitle] = useState('') return setTitle(e.target.value)} autoFocus /> }