Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const LoginScreen = ({login}) => (
- <form>
- <label>
- User:
- <input type="text" />
- </label>
- <label>
- Password:
- <input type="text" />
- </label>
- <button onClick={() => login({user: 'Someone', token: 'X'})}>Login</button>
- </form>
- );
Add Comment
Please, Sign In to add comment