Skip to content

Commit

Permalink
disabled label
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoWartelle committed Nov 18, 2023
1 parent de429bc commit 0b15b25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/checkbox/checkbox.disabled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function Component() {
</div>
<div className="flex items-center gap-2">
<Checkbox id="disabled-checked-state-checkbox" disabled checked />
<Label htmlFor="disabled-checked-state-checkbox">Disabled checked</Label>
<Label htmlFor="disabled-checked-state-checkbox" disabled>Disabled checked</Label>
</div>
</div>
);
Expand All @@ -34,7 +34,7 @@ function Component() {
</div>
<div className="flex items-center gap-2">
<Checkbox id="disabled-checked-state-checkbox" disabled checked />
<Label htmlFor="disabled-checked-state-checkbox">Disabled checked</Label>
<Label htmlFor="disabled-checked-state-checkbox" disabled>Disabled checked</Label>
</div>
</div>
);
Expand Down

0 comments on commit 0b15b25

Please sign in to comment.