Skip to content

Commit

Permalink
fix(select): add empty string for size prop (#5473)
Browse files Browse the repository at this point in the history
  • Loading branch information
jendowns authored Feb 27, 2020
1 parent 3656fc6 commit a1832c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/Select/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Select.propTypes = {
/**
* Specify the size of the Text Input. Currently supports either `sm` or `xl` as an option.
*/
size: PropTypes.oneOf(['sm', 'xl']),
size: PropTypes.oneOf(['sm', 'xl', '']),
};

Select.defaultProps = {
Expand Down

0 comments on commit a1832c4

Please sign in to comment.