import { useId } from 'react'; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '../../../../components/ui/select.tsx'; import { COLUMN_SPAN_LABELS, COLUMN_SPANS, ColumnSpan, normalizeColumnSpan } from '../../../../utils/questionnaireLayout.ts'; interface Props { value: unknown; onChange: (span: ColumnSpan) => void; disabled?: boolean; } // The keyboard and screen-reader companion to dragging a field's right edge; both write the same span. const FieldWidthControl = ({ value, onChange, disabled }: Props) => { const id = useId(); return (
); }; export default FieldWidthControl;