import { useId } from 'react'; import { cn } from '../../lib/classname'; type QuestionProps = { label: string; placeholder: string; autoFocus?: boolean; value: string; onChange: (value: string) => void; }; function Question(props: QuestionProps) { const { label, placeholder, value, onChange, autoFocus = false } = props; const questionId = useId(); return (