diff options
| author | Ryan Mehri <[email protected]> | 2020-05-10 12:52:43 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-05-10 12:52:43 -0600 |
| commit | 22a2e8b5d9ae005527bd23e8d6e31a765c690e80 (patch) | |
| tree | f05d45608790aa29942caab5d30e39c2171d498d /frontend/src/components/Options.js | |
| parent | Merge pull request #9 from jackyzha0/backend (diff) | |
| parent | add focus opacity change, password input (diff) | |
| download | ctrl-v-22a2e8b5d9ae005527bd23e8d6e31a765c690e80.tar.xz ctrl-v-22a2e8b5d9ae005527bd23e8d6e31a765c690e80.zip | |
Merge pull request #10 from jackyzha0/react
add focus opacity change, password input
Diffstat (limited to 'frontend/src/components/Options.js')
| -rw-r--r-- | frontend/src/components/Options.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/frontend/src/components/Options.js b/frontend/src/components/Options.js new file mode 100644 index 0000000..81f2046 --- /dev/null +++ b/frontend/src/components/Options.js @@ -0,0 +1,22 @@ +import React from 'react'; +import styled from 'styled-components' +import { PassInput } from './Inputs' + +const Float = styled.div` + float: right; +` + +class OptionsContainer extends React.Component { + render() { + return ( + <Float> + <PassInput + value={this.props.pass} + onChange={this.props.onChange} + id="passwordInput" /> + </Float> + ); + } +} + +export default OptionsContainer
\ No newline at end of file |