-
Hello, I just want to say that this is an awesome UI framework! My question is what is createDisclosure()? I am trying to create a Drawer menu and for the life of me I don't know what that is. I'm fairly new to Solidjs and I've tried googling what that is. I have not found the answer. Please help. :)
I get an error saying that createDisclosure() is not defined. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, For the problem saying that createDisclosure() is not defined, can you provide a snippet/source code ? Thanks |
Beta Was this translation helpful? Give feedback.
Hi,
createDisclosure
is a "custom primitive" (like a custom React hook or Vue.js composable) and allow you to manage an "open/close" boolean state (useful for displaying a modal, drawer, etc...).For the problem saying that createDisclosure() is not defined, can you provide a snippet/source code ?
Thanks