UNPKG

@vela-ui/react

Version:

Vela UI React components

26 lines (23 loc) 1.02 kB
import * as react_jsx_runtime from 'react/jsx-runtime'; import * as tailwind_variants from 'tailwind-variants'; import { VariantProps } from 'tailwind-variants'; import { Checkbox as Checkbox$1 } from 'react-aria-components'; declare const checkboxVariants: tailwind_variants.TVReturnType<{ isDisabled: { true: string; }; }, undefined, "group relative flex items-center gap-2 text-sm transition", { isDisabled: { true: string; }; }, undefined, tailwind_variants.TVReturnType<{ isDisabled: { true: string; }; }, undefined, "group relative flex items-center gap-2 text-sm transition", unknown, unknown, undefined>>; interface CheckboxProps extends React.ComponentProps<typeof Checkbox$1>, VariantProps<typeof checkboxVariants> { indicatorClassName?: string; size?: "sm" | "md" | "lg"; } declare function Checkbox({ className, children, indicatorClassName, size, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element; export { Checkbox, type CheckboxProps };