1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-29 05:10:05 +02:00

autoFocus attribute as a boolean

This commit is contained in:
Sérgio Ramos 2016-10-31 16:10:01 +00:00
parent 6faa75f36b
commit fdf1a4c508
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ const Button = ({
};
Button.propTypes = {
autoFocus: React.PropTypes.string,
autoFocus: React.PropTypes.bool,
children: React.PropTypes.node,
className: React.PropTypes.string,
disabled: React.PropTypes.bool,

View File

@ -70,7 +70,7 @@ const Input = ({
Input.propTypes = {
autoComplete: React.PropTypes.string,
autoFocus: React.PropTypes.string,
autoFocus: React.PropTypes.bool,
children: React.PropTypes.node,
className: React.PropTypes.string,
disabled: React.PropTypes.bool,