Search
    Preparing search index...

    Свойства группы радиоэлементов.

    interface RadioRadioGroupProps {
        buttonStyle?: "solid" | "outline";
        children?: ReactNode;
        className?: string;
        defaultValue?: any;
        disabled?: boolean;
        id?: string;
        name?: string;
        onChange?: (e: RadioMouseEvent<RadioChangeEventTarget>) => void;
        onMouseEnter?: MouseEventHandler<HTMLDivElement>;
        onMouseLeave?: MouseEventHandler<HTMLDivElement>;
        options?: (
            | string
            | {
                disabled?: boolean;
                label: ReactNode;
                onChange?: (e: RadioMouseEvent<RadioCheckboxChangeEventTarget>) => void;
                style?: CSSProperties;
                value: string | number | boolean;
            }
        )[];
        optionType?: "button"
        | "default";
        prefixCls?: string;
        size?: "small" | "middle" | "large";
        style?: CSSProperties;
        value?: any;
    }
    Index

    Properties

    buttonStyle?: "solid" | "outline"

    Стиль кнопок.

    children?: ReactNode

    Дочерние элементы.

    className?: string

    Дополнительный CSS-класс.

    defaultValue?: any

    Начальное значение.

    disabled?: boolean

    Флаг отключения всей группы.

    id?: string

    Атрибут идентификатора.

    name?: string

    Атрибут имени в форме.

    onChange?: (e: RadioMouseEvent<RadioChangeEventTarget>) => void

    Обработчик изменения группы.

    Type declaration

    onMouseEnter?: MouseEventHandler<HTMLDivElement>

    Обработчик наведения курсора.

    onMouseLeave?: MouseEventHandler<HTMLDivElement>

    Обработчик ухода курсора.

    options?: (
        | string
        | {
            disabled?: boolean;
            label: ReactNode;
            onChange?: (e: RadioMouseEvent<RadioCheckboxChangeEventTarget>) => void;
            style?: CSSProperties;
            value: string | number | boolean;
        }
    )[]

    Набор опций выбора.

    Type declaration

    optionType?: "button" | "default"

    Тип опций группы.

    prefixCls?: string

    Префикс CSS-класса.

    size?: "small" | "middle" | "large"

    Размер радиоэлементов.

    Стили контейнера.

    value?: any

    Текущее значение.