Type Alias InlineRadioButtonGroupProps

InlineRadioButtonGroupProps: {
    children:
        | ReactElement<InlineRadioButtonProps>
        | ReactElement<InlineRadioButtonProps>[];
    disabled?: boolean;
    label?: string;
    name: string;
    onChange?: (value: string) => void;
    required?: boolean;
    value?: string;
}

Type declaration

  • children: ReactElement<InlineRadioButtonProps> | ReactElement<InlineRadioButtonProps>[]
  • Optionaldisabled?: boolean

    Disable entire group of radio buttons.

  • Optionallabel?: string
  • name: string

    Name for the HTML data value in forms

  • OptionalonChange?: (value: string) => void

    value and onChange are optional because we want to be able to use the control in an uncontrolled manner as well (for example, in forms)

  • Optionalrequired?: boolean

    A selection is required

  • Optionalvalue?: string

    value and onChange are optional because we want to be able to use the control in an uncontrolled manner as well (for example, in forms)