interface CheckboxProps {
    autoFocus?: boolean;
    checked: boolean;
    children?: ReactNode;
    className?: string;
    data-qaid?: string;
    disabled?: boolean;
    id?: string;
    indeterminate?: boolean;
    intent?: DEFAULT | SECONDARY;
    name?: string;
    onBlur?: FocusEventHandler<HTMLElement>;
    onChange?: ((e: CheckboxChangeEvent) => void);
    onClick?: MouseEventHandler<HTMLElement>;
    onFocus?: FocusEventHandler<HTMLElement>;
    onKeyDown?: KeyboardEventHandler<HTMLElement>;
    onKeyPress?: KeyboardEventHandler<HTMLElement>;
    onKeyUp?: KeyboardEventHandler<HTMLElement>;
    onMouseEnter?: MouseEventHandler<HTMLElement>;
    onMouseLeave?: MouseEventHandler<HTMLElement>;
    readOnly?: boolean;
    style?: CSSProperties;
    tabIndex?: number;
}

Hierarchy (view full)

Properties

autoFocus?: boolean
checked: boolean
children?: ReactNode
className?: string

Возможность стилизации компонента через css-классы будет прекращена.

@universe-platform/uikit 2.0.0

data-qaid?: string
disabled?: boolean
id?: string
indeterminate?: boolean
intent?: DEFAULT | SECONDARY
name?: string
onBlur?: FocusEventHandler<HTMLElement>
onChange?: ((e: CheckboxChangeEvent) => void)
onClick?: MouseEventHandler<HTMLElement>
onFocus?: FocusEventHandler<HTMLElement>
onKeyDown?: KeyboardEventHandler<HTMLElement>
onKeyPress?: KeyboardEventHandler<HTMLElement>
onKeyUp?: KeyboardEventHandler<HTMLElement>
onMouseEnter?: MouseEventHandler<HTMLElement>
onMouseLeave?: MouseEventHandler<HTMLElement>
readOnly?: boolean

Возможность стилизации компонента через css-стили будет прекращена.

@universe-platform/uikit 2.0.0

tabIndex?: number