• 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

$$typeof: symbol
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>>
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

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>>

Generated using TypeDoc