@starter-ui/core
Version:
This is a UI Components built with the utility classes from Tailwind CSS.
14 lines (13 loc) • 329 B
TypeScript
import { 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 Switch: React.FC<Props>;
export default Switch;