UNPKG

@nayan-ui/react

Version:

Reusable Component Library for ReactJS.

14 lines 526 B
import React from 'react'; import { Switch } from './ui/switch'; export interface NSwitchProps extends Omit<React.ComponentPropsWithoutRef<typeof Switch>, 'checked' | 'onCheckedChange' | 'onChange' | 'id'> { enabled?: boolean; defaultChecked?: boolean; label?: React.ReactNode; className?: string; labelClassName?: string; switchClassName?: string; onChange?: (checked: boolean) => void; id?: string; } export declare const NSwitch: React.FC<NSwitchProps>; //# sourceMappingURL=NSwitch.d.ts.map