Skip to content

Commit 12741ce

Browse files
committed
fixup! fixup! fixup! Add the missing support of help texts to InputGroup (#663)
1 parent 37b0952 commit 12741ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/InputGroup/InputGroup.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ InputGroup.propTypes = {
152152
/**
153153
* An array of help texts to be displayed.
154154
*/
155-
helpTexts: PropTypes.node,
155+
helpTexts: PropTypes.arrayOf(PropTypes.node),
156156
/**
157157
* ID of the root HTML element.
158158
*
@@ -191,7 +191,7 @@ InputGroup.propTypes = {
191191
/**
192192
* An array of validation messages to be displayed.
193193
*/
194-
validationTexts: PropTypes.node,
194+
validationTexts: PropTypes.arrayOf(PropTypes.node),
195195
};
196196

197197
export const InputGroupWithGlobalProps = withGlobalProps(InputGroup, 'InputGroup');

0 commit comments

Comments
 (0)