From 516877c498789a9bffb63eb7f9af402d7948ecdc Mon Sep 17 00:00:00 2001 From: Noah Overcash Date: Fri, 5 Jan 2024 11:32:21 -0500 Subject: [PATCH] Update Checkbox label prop documentation (#2194) 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 --- lib/Checkbox/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Checkbox/readme.md b/lib/Checkbox/readme.md index d4928f4fd..06a66a17b 100644 --- a/lib/Checkbox/readme.md +++ b/lib/Checkbox/readme.md @@ -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 `` | `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 `