@starter-ui/core
Version:
This is a UI Components built with the utility classes from Tailwind CSS.
14 lines (13 loc) • 351 B
TypeScript
import { default as React, ReactNode } from 'react';
interface Props {
id: string;
label?: ReactNode | string;
checked?: boolean;
disabled?: boolean;
color?: string;
className?: string;
onChange?: (value: boolean) => void;
onClick?: (e: any) => void;
}
declare const Checkbox: React.FC<Props>;
export default Checkbox;