🥦【shadcn】 Dialogの開閉をuseStateで管理する方法2024/08/12に公開shadcn/uitech ↓これでできる const [open, setOpen] = useState(false); return <Dialog open={open} onOpenChange={setOpen} /> 参考: https://www.radix-ui.com/docs/primitives/components/dialog#root https://github.com/shadcn-ui/ui/issues/386#issuecomment-1555881767 Discussion
Discussion