UNPKG

@snowball-tech/fractal

Version:

Fractal's (Snowball's design system) React component library based on RadixUI and TailwindCSS

25 lines (24 loc) 823 B
import { Colors, Variants } from "./InputCheckbox.constants.js"; import { ReactNode } from "react"; import { CheckboxProps } from "@radix-ui/react-checkbox"; //#region src/components/InputCheckbox/InputCheckbox.types.d.ts interface InputCheckboxProps extends Omit<CheckboxProps, 'asChild'> { checked?: CheckboxProps['checked']; children?: ReactNode; color?: `${Colors}`; defaultChecked?: CheckboxProps['defaultChecked']; disabled?: boolean; fullWidth?: boolean; id?: string; label?: ReactNode; labelElement?: keyof HTMLElementTagNameMap; name?: string; readOnly?: boolean; required?: boolean; value?: string; variant?: `${Variants}`; onCheckedChange?: (checked: CheckboxProps['checked']) => void; } //#endregion export { InputCheckboxProps }; //# sourceMappingURL=InputCheckbox.types.d.ts.map