Skip to content

Commit

Permalink
Allow string props in SelectMenuContent dimensions (segmentio#594)
Browse files Browse the repository at this point in the history
This follows on from segmentio#579
  • Loading branch information
robphoenix authored and Matt Shwery committed Jul 11, 2019
1 parent d64cd70 commit 5f7021e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/select-menu/src/SelectMenuContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export default class SelectMenuContent extends PureComponent {
static propTypes = {
close: PropTypes.func,
title: PropTypes.string,
width: PropTypes.number,
height: PropTypes.number,
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
headerHeight: PropTypes.number,
options: PropTypes.arrayOf(OptionShapePropType),
hasTitle: PropTypes.bool,
Expand Down

0 comments on commit 5f7021e

Please sign in to comment.