Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form onSubmit={this.handleSubmit} id="search">
- <table>
- <tbody>
- <tr>
- <td className="text">
- <input onChange={this.handleChange} className="searchplayer" placeholder="Player name search..." type="search" />
- </td>
- <td className="platforms">
- <i onClick={() => {
- this.handleClick('uplay');
- this.setState({ uplay: true, xbl: false, psn: false })
- }
- } className={`platform s_uplay fab fa-windows ${this.state.uplay ? 'selected' : ''}`} />
- <i onClick={() => {
- this.handleClick('psn');
- this.setState({ psn: true, uplay: false, xbl: false })
- }
- } className={`platform s_psn fab fa-playstation ${this.state.psn ? 'selected' : ''}`} />
- <i onClick={() => {
- this.handleClick('xbl');
- this.setState({ xbl: true, uplay: false, psn: false })
- }
- } className={`platform s_xbl fab fa-xbox ${this.state.xbl ? 'selected' : ''}`} />
- </td>
- <td className="go"><button><i className="fas fa-angle-right" /></button></td>
- </tr>
- </tbody>
- </table>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement