Last active
August 18, 2017 10:13
-
-
Save davidgilbertson/4602e62582f2dc4a05f177af7bb0e35a to your computer and use it in GitHub Desktop.
Revisions
-
davidgilbertson renamed this gist
Feb 26, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ class SignInModal extends Component { componentDidMount() { this.InputComponent.focus(); } -
davidgilbertson created this gist
Feb 25, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ class SignInPage extends React.Component { componentDidMount() { this.InputComponent.focus(); } render() { return ( <div> <label>User name: </label> <Input ref={comp => { this.InputComponent = comp; }} /> </div> ) } }