UNPKG

@sikka/hawa

Version:

Modern UI Kit made with Tailwind

21 lines (18 loc) 800 B
import * as React from 'react'; import * as CheckboxPrimitive from '@radix-ui/react-checkbox'; import { R as RadiusType } from '../commonTypes-D23Z4zYt.mjs'; type CheckBoxTypes = { id: string; label?: React.ReactNode; sublabel?: React.ReactNode; helperText?: any; size?: "xs" | "sm" | "default" | "md" | "lg" | "xl"; radius?: RadiusType; }; type CheckboxProps = CheckBoxTypes & React.ComponentProps<typeof CheckboxElement>; declare const Checkbox: React.FC<CheckboxProps>; declare const CheckboxElement: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & { size?: "xs" | "sm" | "default" | "md" | "lg" | "xl"; radius?: RadiusType; } & React.RefAttributes<HTMLButtonElement>>; export { Checkbox };