import { AutofocusProp, BaseSelectOption, Nullable, Orientation, SelectOptionValue } from '../../types/index.js'; import { SharedFormElementProps } from '../OnyxFormElement/types.js'; export type OnyxRadioGroupProps = Pick & Pick & { /** * Options for the individual radio buttons of the group. */ options: RadioButtonOption[]; /** * The selected radio button option. */ modelValue?: Nullable; /** * Orientation of the radio buttons. Can be vertical (default) or horizontal. */ orientation?: Orientation; }; export type RadioButtonOption = Omit, "hideLabel"> & AutofocusProp;