UNPKG

@lifespikes/ui

Version:
12 lines (11 loc) 625 B
import { ComponentProps, DetailedHTMLProps, HTMLAttributes, PropsWithChildren, ReactNode } from 'react'; import { CheckboxPrimitive, Label } from '@lifespikes/ui/components/ui'; export type CheckboxProps = PropsWithChildren<ComponentProps<typeof CheckboxPrimitive> & { _containerProps?: DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>; _labelProps?: Omit<ComponentProps<typeof Label>, 'children'>; label?: ReactNode; }>; export declare const Checkbox: { ({ _containerProps, _labelProps, label, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element; displayName: string; };