import { Text, Input } from '@geist-ui/core' import { memo } from 'react' import ShiftBy from '../../shift-by' import styles from '../post.module.css' const titlePlaceholders = [ "How to...", "Status update for ...", "My new project", "My new idea", ] type props = { setTitle: (title: string) => void title?: string } const Title = ({ setTitle, title }: props) => { return (
Drift setTitle(event.target.value)} height={"55px"} font={1.5} label="Your title" marginLeft={'var(--gap)'} style={{ width: "100%" }} />
) } export default memo(Title)