import type { Question } from '../../types' interface Props { q: Question value: string | null | undefined onChange: (val: string) => void locked?: boolean } export default function ShortAnswer({ q, value = '', onChange, locked }: Props) { return (