Skip to content

Commit

Permalink
fix: prevent prop-types error by making tabIndex an optional prop (#1640
Browse files Browse the repository at this point in the history
)
  • Loading branch information
HendrikThePendric authored Nov 26, 2024
1 parent f98df61 commit b57b81c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/select/src/select/input-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ const InputWrapper = ({
InputWrapper.propTypes = {
dataTest: PropTypes.string.isRequired,
inputRef: PropTypes.object.isRequired,
tabIndex: PropTypes.string.isRequired,
onToggle: PropTypes.func.isRequired,
children: PropTypes.element,
className: PropTypes.string,
dense: PropTypes.bool,
disabled: PropTypes.bool,
error: sharedPropTypes.statusPropType,
tabIndex: PropTypes.string,
valid: sharedPropTypes.statusPropType,
warning: sharedPropTypes.statusPropType,
}
Expand Down

0 comments on commit b57b81c

Please sign in to comment.