Skip to content

Commit

Permalink
Update errorText prop type
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-marcellini committed Sep 12, 2023
1 parent 7a0682e commit 0f359e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AddressSearch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const propTypes = {
onBlur: PropTypes.func,

/** Error text to display */
errorText: PropTypes.string,
errorText: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.object]))]),

/** Hint text to display */
hint: PropTypes.string,
Expand Down

0 comments on commit 0f359e1

Please sign in to comment.