We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.9.2
Hi when I try to use example of dialog from documentation I get the error, React version 19.0.0
Component will render
use Dialog component from documentatoin () => { const { isChecked: isOpen, onChange: setIsOpen } = useSwitch({ defaultChecked: false, }); return ( <Dialog //disable default triggers showTrigger={[]} // manage the opening state in the app level open={isOpen} content={ <DialogContentContainer> <DialogContentContainer> <Button kind="secondary" // @ts-ignore onClick={() => setIsOpen(false)} > This will close as well </Button> </DialogContentContainer> </DialogContentContainer> } > <Button // @ts-ignore onClick={() => setIsOpen(!isOpen)} > Click me to toggle the Dialog </Button> </Dialog> ); }
() => { const { isChecked: isOpen, onChange: setIsOpen } = useSwitch({ defaultChecked: false, }); return ( <Dialog //disable default triggers showTrigger={[]} // manage the opening state in the app level open={isOpen} content={ <DialogContentContainer> <DialogContentContainer> <Button kind="secondary" // @ts-ignore onClick={() => setIsOpen(false)} > This will close as well </Button> </DialogContentContainer> </DialogContentContainer> } > <Button // @ts-ignore onClick={() => setIsOpen(!isOpen)} > Click me to toggle the Dialog </Button> </Dialog> ); }
https://vibe.monday.com/?path=/docs/components-dialog--docs
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Vibe version
3.9.2
Describe the bug
Hi when I try to use example of dialog from documentation I get the error,
React version 19.0.0
Expected behavior
Component will render
Steps to reproduce
use Dialog component from documentatoin
() => { const { isChecked: isOpen, onChange: setIsOpen } = useSwitch({ defaultChecked: false, }); return ( <Dialog //disable default triggers showTrigger={[]} // manage the opening state in the app level open={isOpen} content={ <DialogContentContainer> <DialogContentContainer> <Button kind="secondary" // @ts-ignore onClick={() => setIsOpen(false)} > This will close as well </Button> </DialogContentContainer> </DialogContentContainer> } > <Button // @ts-ignore onClick={() => setIsOpen(!isOpen)} > Click me to toggle the Dialog </Button> </Dialog> ); }
https://vibe.monday.com/?path=/docs/components-dialog--docs
Reproduction example link
No response
System Info
No response
Additional context, Screenshots
No response
The text was updated successfully, but these errors were encountered: