export type DropdownOption = { name: string, value: string, }; type Props = { label: string, name: string, horizontal?: boolean, value?: string, onChange?: (_) => void, error?: string, required?: boolean, options: DropdownOption[], } export default function DropdownSelect({ label, name, horizontal = true, value = undefined, onChange = (_) => { }, error = null, required = false, options, }: Props) { return (
{error}
: null } {/*