mirror of
https://github.com/Galax028/startpage.git
synced 2024-11-21 22:53:08 +01:00
Added autofocus
This commit is contained in:
parent
c967b21c9c
commit
364467ac65
@ -52,9 +52,10 @@ class Search extends Component {
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const { value, suggestions } = this.state;
|
const { value, suggestions } = this.state;
|
||||||
const inputProps = {
|
const inputProps = {
|
||||||
|
autoFocus: true,
|
||||||
|
onChange: this.onChange,
|
||||||
placeholder: "Search The Web",
|
placeholder: "Search The Web",
|
||||||
value,
|
value,
|
||||||
onChange: this.onChange,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user