Skip to content

Commit

Permalink
Update Checkbox label prop documentation (#2194)
Browse files Browse the repository at this point in the history
The prop accepts a node in the prop-types and [the usage concurs](https://github.com/folio-org/stripes-components/blob/master/lib/Checkbox/Checkbox.js#L157); this brings the README in line with this.

Co-authored-by: John Coburn <jcoburn@ebsco.com>
  • Loading branch information
2 people authored and github-actions committed Jan 5, 2024
1 parent c68cb99 commit 32bab68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Checkbox/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ id | string | HTML id attribute applied to input - will also set the HtmlFor att
inline | bool | Renders the checkbox inline | `false`
innerClass | string | Adds a custom class name for the inner element of the component | `undefined`
inputRef | object or func | Supplies a ref to the rendered `<input>` | `undefined`
label | string | Renders a label for the checkbox | `undefined`
label | string, node | Renders a label for the checkbox | `undefined`
labelClass | string | Adds a custom class name on the `<label>`-element | `undefined`
name | string | Sets the name of the input | `undefined`
onBlur | func | Event handler for the input's `onBlur` event | `undefined`
Expand Down

0 comments on commit 32bab68

Please sign in to comment.