We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 958e3ea commit b949b4bCopy full SHA for b949b4b
packages/@headlessui-react/README.md
@@ -1591,6 +1591,9 @@ This component can be used to render content inside a Dialog/Modal. This contain
1591
### Basic example
1592
1593
```jsx
1594
+import { useState } from 'react'
1595
+import { Dialog } from '@headlessui/react'
1596
+
1597
function Example() {
1598
let [isOpen, setIsOpen] = useState(true)
1599
@@ -1618,6 +1621,9 @@ function Example() {
1618
1621
#### Dialog
1619
1622
1620
1623
1624
1625
1626
1627
1628
1629
0 commit comments