import { useState } from 'react' import { Switch } from '@headlessui/react' export default function Example() { const [enabled, setEnabled] = useState(false) return (