Skip to content

Commit

Permalink
fix(Input): Allow numbers for size prop (reactstrap#1948)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyletsang committed Aug 27, 2020
1 parent aa63f99 commit b4c45af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Input.js
Expand Up @@ -8,7 +8,7 @@ import { mapToCssModules, warnOnce, tagPropType } from './utils';
const propTypes = {
children: PropTypes.node,
type: PropTypes.string,
size: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
bsSize: PropTypes.string,
valid: PropTypes.bool,
invalid: PropTypes.bool,
Expand Down

0 comments on commit b4c45af

Please sign in to comment.