import type { ChangeEvent } from "react" import Input from "@components/input" import styles from "./title.module.css" const titlePlaceholders = [ "How to...", "Status update for ...", "My new project", "My new idea", "Let's talk about...", "What's up with ...", "I'm thinking about ..." ] type props = { onChange: (e: ChangeEvent) => void title?: string } const Title = ({ onChange, title }: props) => { const placeholder = titlePlaceholders[Math.floor(Math.random() * titlePlaceholders.length)] return (

Drift

) } export default Title