Skip to content

Commit

Permalink
Merge pull request #89 from Siumauricio/fix/#88
Browse files Browse the repository at this point in the history
fix:  #88
  • Loading branch information
Siumauricio authored Apr 8, 2023
2 parents cfa3f29 + 80aced4 commit 916a5ce
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

1 comment on commit 916a5ce

@vercel
Copy link

@vercel vercel bot commented on 916a5ce Apr 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.