@pagamio/frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
11 lines (10 loc) • 315 B
TypeScript
interface SwitchProps {
id: string;
checked: boolean;
onChange?: (checked: boolean) => void;
label?: string;
disabled?: boolean;
className?: string;
}
declare const Switch: ({ id, checked, onChange, label, disabled, className, ...props }: SwitchProps) => JSX.Element;
export default Switch;