Skip to content

createDisclosure()? #223

Answered by fabien-ml
Woofble asked this question in Q&A
Sep 14, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Woofble
Comment options

Answer selected by Woofble
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants