UNPKG

weavify

Version:

````markdown # **Weavify - Reusable UI Components**

15 lines (14 loc) 398 B
import React from 'react'; interface CustomSwitchProps { id: string; checked: boolean; onChange: (e: React.ChangeEvent<HTMLInputElement>) => void; } declare const CustomSwitch: React.ComponentType<CustomSwitchProps & { className?: string; trackColorOn?: string; trackColorOff?: string; thumbColorOn?: string; thumbColorOff?: string; }>; export default CustomSwitch;