Correcto sigpro

This commit is contained in:
2026-04-10 22:08:52 +02:00
parent c08f001a80
commit 45e82b20e5
12 changed files with 3302 additions and 1093 deletions

View File

@@ -66,6 +66,23 @@ const BasicDemo = () => {
Mount(BasicDemo, '#demo-basic');
```
<!-- Open the modal using ID.showModal() method -->
<button class="btn" onclick="my_modal_1.showModal()">TEST DIRECTO</button>
<dialog id="my_modal_1" class="modal">
<div class="modal-box">
<h3 class="text-lg font-bold">Hello!</h3>
<p class="py-4">Press ESC key or click the button below to close</p>
<div class="modal-action">
<form method="dialog">
<!-- if there is a button in form, it will close the modal -->
<button class="btn">Close</button>
</form>
</div>
</div>
</dialog>
### Modal with Actions
<div class="card bg-base-200 border border-base-300 shadow-sm my-6">