Properties of the RadioControl React component.

interface RadioControlProps {
    disabled?: boolean;
    id?: string;
    label: string;
    size?: "small" | "medium";
    sx?: SxProps<Theme>;
    value: string;
}

Properties

disabled?: boolean

Set to true to disable this control.

id?: string

The component id.

label: string

The label to be displayed next to the radio button.

size?: "small" | "medium"

The component size.

sx?: SxProps<Theme>

Optional sx properties.

value: string

The value that this radio button represents.