@itgold/grandbazar-ui-kit
Version:
Grandbazar.io UI component library: React, Typescript, Tailwind, Rollup, Storybook, Jest.
15 lines (12 loc) • 349 B
text/typescript
import { ChangeEventHandler } from 'react';
import { TCheckboxSizes } from '@/components/inputs/types/TCheckboxSizes';
export type TCheckboxProps = {
disabled?: boolean;
onChange: ChangeEventHandler;
theme?: 'dark' | 'light';
id?: string;
className?: string;
checked?: boolean;
size: TCheckboxSizes;
children?: React.ReactNode;
};