import * as React from 'react'; import * as CheckboxPrimitive from '@radix-ui/react-checkbox'; /** * Checkbox component props */ export type CheckboxProps = React.ComponentPropsWithoutRef; /** * Checkbox component - Accessible checkbox using Radix UI * * A styled checkbox component with proper accessibility features. * Uses Radix UI Checkbox primitive for robust functionality. * * @example Basic usage * ```tsx * * * ``` * * @example With React Hook Form * ```tsx * ( * * * * *
* Subscribe to newsletter * * Receive updates about new features and announcements * *
*
* )} * /> * ``` * * @example Controlled checkbox * ```tsx * const [checked, setChecked] = useState(false); * * * ``` * * @example Indeterminate state * ```tsx * * ``` */ export declare function Checkbox({ ref, className, ...props }: CheckboxProps & { ref?: React.Ref>; }): import("react/jsx-runtime").JSX.Element; export declare namespace Checkbox { var displayName: string | undefined; } //# sourceMappingURL=Checkbox.d.ts.map