themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS
https://flowbite.com
MIT License
7.35k stars 711 forks source link

Can someone tell me how the modal closable works? #707

Closed Angel-sg-s closed 5 months ago

Angel-sg-s commented 8 months ago

Buenos dias, disculpen alguien me puede decir como usar el closable, solo estoy usando a flowbite por cdn, este es mi modal code Podrian ayudarme por favor

zoltanszogyenyi commented 5 months ago

Hey @Angel-sg-s,

Not sure what you mean, but if you want the modal to close when clicking outside then you need no change.

If you want it to close only when clicking on the "X" icon then uses the static modal data attributes from here:

https://flowbite.com/docs/components/modal/#static-modal