Jack Mallers
7 years ago
4 changed files with 54 additions and 1 deletions
@ -0,0 +1,23 @@ |
|||
import React from 'react' |
|||
import PropTypes from 'prop-types' |
|||
import styles from './TransactionForm.scss' |
|||
|
|||
const TransactionForm = ({}) => ( |
|||
<div> |
|||
<input |
|||
type='text' |
|||
placeholder='payment request' |
|||
className={styles.input} |
|||
/> |
|||
|
|||
<div className={styles.submitContainer}> |
|||
<span className={styles.submit}>submit</span> |
|||
</div> |
|||
</div> |
|||
) |
|||
|
|||
TransactionForm.propTypes = { |
|||
|
|||
} |
|||
|
|||
export default TransactionForm |
@ -0,0 +1,28 @@ |
|||
@import '../../variables.scss'; |
|||
|
|||
.input { |
|||
width: 100%; |
|||
background: $secondary; |
|||
color: $terminalgreen; |
|||
-webkit-appearance: none; |
|||
border: none; |
|||
border-bottom: 1px solid $terminalgreen; |
|||
padding: 5px; |
|||
outline: 0; |
|||
} |
|||
|
|||
.submitContainer { |
|||
margin-top: 20px; |
|||
text-align: right; |
|||
} |
|||
|
|||
.submit { |
|||
padding: 5px; |
|||
color: $terminalgreen; |
|||
cursor: pointer; |
|||
|
|||
&:hover { |
|||
background: $terminalgreen; |
|||
color: $secondary; |
|||
} |
|||
} |
Loading…
Reference in new issue