import type { GlobalProps } from '../../shared/global'; import { BaseOptionProps } from '../../shared/input'; export interface ChoiceProps extends GlobalProps, BaseOptionProps { /** * Content to use as the choice label. */ label?: string; /** * Additional text to provide context or guidance for the input. * * This text is displayed along with the input and its label * to offer more information or instructions to the user. * * @implementation this content should be linked to the input with an `aria-describedby` attribute. */ details?: string; /** * Set to `true` to associate a choice with the error passed to `ChoiceList` */ error?: boolean; }