UNPKG

@itgold/grandbazar-ui-kit

Version:

Grandbazar.io UI component library: React, Typescript, Tailwind, Rollup, Storybook, Jest.

14 lines (13 loc) 478 B
import { ChangeEventHandler } from 'react'; import { CheckboxSizesEnum } from './types/input-styles.enum'; type TCheckboxProps = { onChange: ChangeEventHandler; theme?: 'dark' | 'light'; id?: string; className?: string; size: CheckboxSizesEnum; checked?: boolean; disabled?: boolean; }; export declare function Checkbox({ disabled, className, id, size, theme, checked, onChange }: TCheckboxProps): import("react/jsx-runtime").JSX.Element; export {};