function App() { const [open, setOpen] = useState(false); return ( <div> <button onClick={() => setOpen(true)}>Open</button> <SideSheet isOpen={open} onDismiss={() => setOpen(false)} /> </div> );}