Skip to content

Commit

Permalink
docs(Checkbox): update example description
Browse files Browse the repository at this point in the history
  • Loading branch information
adamviktora committed May 10, 2024
1 parent cc5cf04 commit a9f4f43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ propComponents: ['Checkbox']

### Label wraps

When the input is wrapped in a label, larger area can be clicked to check the box, including the space between the checkbox and its description.
You can expand the clickable area of a checkbox so that it spans wider than the checkbox label by adding the `isLabelWrapped` property. This allows users to select a checkbox by clicking the checkbox itself, the label, or the area between the checkbox and the label.

```ts file="./CheckboxLabelWraps.tsx"

Expand Down

0 comments on commit a9f4f43

Please sign in to comment.