/* This example requires some changes to your config: ``` // tailwind.config.js module.exports = { // ... plugins: [ // ... require('@tailwindcss/forms'), ], } ``` */ import { useState } from 'react' import { ChevronDownIcon } from '@heroicons/react/20/solid' import { Switch } from '@headlessui/react' function classNames(...classes) { return classes.filter(Boolean).join(' ') } export default function Example() { const [agreed, setAgreed] = useState(false) return (