-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Hi @RobinMalfait,
I'm using headlessui/react@dev
and I'm going through an error with the Dialog component:
TypeError: Cannot read property 'Overlay' of undefined
Here the code, copy/pasted from the documentation:
<Dialog open={showForm} onClose={setShowForm}>
<Dialog.Overlay />
<Dialog.Title>Deactivate account</Dialog.Title>
<Dialog.Description>This will permanently deactivate your account</Dialog.Description>
<p>
Are you sure you want to deactivate your account? All of your data will be permanently
removed. This action cannot be undone.
</p>
<button onClick={() => setShowForm(false)}>Deactivate</button>
<button onClick={() => setShowForm(false)}>Cancel</button>
</Dialog>
jcodo
Metadata
Metadata
Assignees
Labels
No labels