React Custom Components Ui

Switch


    import { Switch } from 'react-custom-components-ui'
    const [isOn, setIsOn] = useState(false)

    <Switch
        isOn={isOn}
        handleToggle={() => setIsOn(!isOn)}
        iconColor='white'
        offColor='gray'
        onColor='green'
        size={50} />