1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-11 05:40:11 +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 = { Button.propTypes = {
autoFocus: React.PropTypes.string, autoFocus: React.PropTypes.bool,
children: React.PropTypes.node, children: React.PropTypes.node,
className: React.PropTypes.string, className: React.PropTypes.string,
disabled: React.PropTypes.bool, disabled: React.PropTypes.bool,

View File

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