Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, { Component } from 'react'
- class Home extends Component {
- constructor(){
- super()
- this.state = {
- username: '',
- password: ''
- }
- }
- render(){
- return(
- <div>
- <h2>Sign Up</h2>
- <input type="text" placeholder="username" /><br />
- <input type="password" placeholder="password" /><br />
- <button>Join</button>
- </div>
- )
- }
- }
- export default Home
Add Comment
Please, Sign In to add comment