Created
June 27, 2019 20:17
-
-
Save J3698/d40415f427f3783efe3aee8b121244f7 to your computer and use it in GitHub Desktop.
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 characters
import React, { Component } from 'react'; | |
import styles from './input-box.module.css'; | |
class UrlInput extends Component { | |
render() { | |
return( | |
<div className={styles.shortenOptions}> | |
<input type="text" placeholder="url to shorten" className={styles.urlInput} tabIndex="1" /> | |
<button className={styles.shortenButton} tabIndex="3">shorten</button> | |
<br /> | |
<span className={styles.siteName}>urlmem.com/</span> | |
<span className={styles.customInputSpan}> | |
<input type="text" placeholder="optional custom url" className={styles.customInput} tabIndex="2" /> | |
</span> | |
</div> | |
); | |
} | |
} | |
export default UrlInput; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment