import { ComponentProps } from 'react'; import { Colors, DeepPartial } from '../../types'; import { CheckboxTheme } from './theme'; /** * @name CheckboxProps * @description Props for the Checkbox component. */ export interface CheckboxProps extends Omit, "type" | "ref" | "color" | "checked"> { theme?: DeepPartial; /** * @name color * @description Optional prop to specify the color of the checkbox. * @default primary * @type Colors * @enum [primary, secondary, success, error, warning, info] * @example * ```tsx * * * * ``` */ color?: Colors; /** * @name label * @description Optional prop to add a label to the checkbox. * @default null * @type string * @example * ```tsx * * ``` */ label?: string; checked?: CheckedState; } export type CheckedState = boolean | "indeterminate"; //# sourceMappingURL=props.d.ts.map