import { Combobox, Listbox, RadioGroup, Switch } from '@headlessui/react' import { useState } from 'react' import { Button } from '../../components/button' import { classNames } from '../../utils/class-names' function Section({ title, children }) { return (
) } let sizes = ['xs', 'sm', 'md', 'lg', 'xl'] let people = [ { id: 1, name: { first: 'Alice' } }, { id: 2, name: { first: 'Bob' } }, { id: 3, name: { first: 'Charlie' } }, ] let locations = ['New York', 'London', 'Paris', 'Berlin'] export default function App() { let [result, setResult] = useState(() => typeof window === 'undefined' || typeof document === 'undefined' ? [] : new FormData() ) let [query, setQuery] = useState('') return (