import React , { FC } from "react" ; interface ThreadTitleProps { title ? : string ; } const ThreadTitle = ( { title } ) => { const onChangeTitle = ( e ) => { } ; return ( < div className = "thread-title-container" > < strong > Title < /strong> < div className = "field" > < input type = "text" value = { title || "" } onChange = { onChangeTitle } placeholder = "Title" / > < /div> < /div>); } ; export default ThreadTitle ;