Skip to content

Commit

Permalink
fixed maxHeight allow string and number
Browse files Browse the repository at this point in the history
  • Loading branch information
madeinfree committed Jul 22, 2016
1 parent e363d6d commit 7f3ac47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BootstrapTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ class BootstrapTable extends Component {
BootstrapTable.propTypes = {
keyField: PropTypes.string,
height: PropTypes.oneOfType([ PropTypes.string, PropTypes.number ]),
maxHeight: PropTypes.string,
maxHeight: PropTypes.oneOfType([ PropTypes.string, PropTypes.number ]),
data: PropTypes.oneOfType([ PropTypes.array, PropTypes.object ]),
remote: PropTypes.bool, // remote data, default is false
striped: PropTypes.bool,
Expand Down

0 comments on commit 7f3ac47

Please sign in to comment.