interface IOptionProps {
    className?: string;
    disabled?: boolean;
    label?: string;
    value: string | number;
}

Properties

className?: string

A space-delimited list of class names

disabled?: boolean

Whether this option is non-interactive.

label?: string

Label text for this option. If omitted, value is used as the label.

value: string | number

Value of this option.