Properties of the RadioGroupControl React component.

interface RadioGroupControlProps {
    id?: string;
    onChange: (value: string) => void;
    value: string;
}

Properties

Properties

id?: string

The component id.

onChange: (value: string) => void

Callback that is called when a new radio button has been selected.

Type declaration

    • (value: string): void
    • Parameters

      • value: string

        The new value.

      Returns void

value: string

Value of the currently selected radio button in this group.