- Checkbox(props): ReactNode
Parameters
props: {
block?: boolean;
checked?: boolean;
children?: ReactNode;
defaultChecked?: boolean;
disabled?: boolean;
icon?: ((checked, indeterminate) => ReactNode);
id?: string;
indeterminate?: boolean;
onChange?: ((checked) => void);
onClick?: ((event) => void);
value?: CheckboxValue;
} & {
className?: string;
style?: CSSProperties & Partial<Record<"--font-size" | "--icon-size" | "--gap", string>>;
tabIndex?: number;
} & AriaAttributes & RefAttributes<Antdm.CheckboxRef>
Returns ReactNode
Properties
Readonly $$typeof
$$typeof: symbol
Group
Optional defaultProps
defaultProps?: Partial<{ block?: boolean; checked?: boolean; children?: ReactNode; defaultChecked?: boolean; disabled?: boolean; icon?: ((checked,
indeterminate) => ReactNode); id?: string; indeterminate?: boolean; onChange?: ((checked) => void); onClick?: ((event) => void); value?: CheckboxValue; } & { className?: string; style?: CSSProperties & Partial<Record<"--font-size" | "--icon-size" | "--gap", string>>; tabIndex?: number; } & AriaAttributes & RefAttributes<Antdm.CheckboxRef>> Optional displayName
displayName?: string
Optional propTypes
propTypes?: WeakValidationMap<{ block?: boolean; checked?: boolean; children?: ReactNode; defaultChecked?: boolean; disabled?: boolean; icon?: ((checked,
indeterminate) => ReactNode); id?: string; indeterminate?: boolean; onChange?: ((checked) => void); onClick?: ((event) => void); value?: CheckboxValue; } & { className?: string; style?: CSSProperties & Partial<Record<"--font-size" | "--icon-size" | "--gap", string>>; tabIndex?: number; } & AriaAttributes & RefAttributes<Antdm.CheckboxRef>>
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.