Interface RadioGroupProps

interface RadioGroupProps {
    attributes?: Record<string, string>;
    classNames?: string[];
    description?: ExtendedHTMLElement;
    label?: string | ExtendedHTMLElement | HTMLElement;
    onChange?: ((value) => void);
    optionTestId?: string;
    optional?: boolean;
    options?: SelectOption[];
    type?: "toggle" | "radio";
    value?: string;
    wrapperTestId?: string;
}

Properties

attributes?: Record<string, string>
classNames?: string[]
description?: ExtendedHTMLElement
label?: string | ExtendedHTMLElement | HTMLElement
onChange?: ((value) => void)

Type declaration

    • (value): void
    • Parameters

      • value: string

      Returns void

optionTestId?: string
optional?: boolean
options?: SelectOption[]
type?: "toggle" | "radio"
value?: string
wrapperTestId?: string