Skip to content

Commit 395eae0

Browse files
committed
Input inlineHelpText can be node as well as string.
1 parent d209d2e commit 395eae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/input/private/inner-input.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const propTypes = {
9797
/**
9898
* Displays help text under the input.
9999
*/
100-
inlineHelpText: PropTypes.string,
100+
inlineHelpText: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
101101
/**
102102
* This callback exposes the input reference / DOM node to parent components. `<Parent inputRef={(inputComponent) => this.input = inputComponent} />
103103
*/

0 commit comments

Comments
 (0)