Skip to content

Commit

Permalink
fix: #88
Browse files Browse the repository at this point in the history
  • Loading branch information
Siumauricio committed Apr 8, 2023
1 parent cfa3f29 commit 80aced4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/content/components/modal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ Simple example of modal.


```html

<input className="modal-state" id="modal-1" type="checkbox" />

<label className="btn btn-primary" htmlFor="modal-1">Open Modal</label>
<input className="modal-state" id="modal-1" type="checkbox" />
<div className="modal">
<label className="modal-overlay" htmlFor="modal-1"></label>
<div className="modal-content flex flex-col gap-5">
Expand All @@ -52,6 +50,7 @@ Simple example of modal.
</span>
<div className="flex gap-3">
<button className="btn btn-error btn-block">Delete</button>

<button className="btn btn-block">Cancel</button>
</div>
</div>
Expand Down

0 comments on commit 80aced4

Please sign in to comment.