Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 07dde15

Browse files
nwordenMatt Goo
authored and
Matt Goo
committed
docs(checkbox): Use htmlFor in example in Checkbox docs. (#516)
1 parent 95fe4e1 commit 07dde15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/checkbox/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class MyApp extends Component {
4242
indeterminate: e.target.indeterminate})
4343
}
4444
/>
45-
<label for='my-checkbox'>My Checkbox</label>
45+
<label htmlFor='my-checkbox'>My Checkbox</label>
4646
);
4747
}
4848
}

0 commit comments

Comments
 (0)