import * as CheckboxPrimitive from "@radix-ui/react-checkbox"; import { CheckIcon } from "@radix-ui/react-icons"; import * as LabelPrimitive from "@radix-ui/react-label"; import * as React from "react"; import { checkboxStyle, indicatorStyle, labelTextStyle, rootStyle } from "./variants"; export type { CheckboxProps } from "@radix-ui/react-checkbox"; const Root = React.forwardRef>( function RootCheckboxEloquent({ className, disabled, children, ...props }, ref) { return (
{children}
) } ) const CheckboxLabelText = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >( function CheckboxLabelTextEloquent({ className, ...props }, ref) { return ( ) } ) const RootCheckbox = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(function CheckboxEloquent({ className, ...props }, ref) { return ( ) }); export const Checkbox = { Root: Root, Label: CheckboxLabelText, Button: RootCheckbox };