mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
autoFocus
attribute as a boolean
This commit is contained in:
parent
6faa75f36b
commit
fdf1a4c508
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user