blob: f874c3568a176d617c7f9be68a79009857b819f7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
import React from 'react';
import styled from 'styled-components'
import { PassInput, ExpiryInput, LangInput } from './Inputs'
const Flex = styled.div`
float: right;
display: flex;
flex-direction: row;
transform: translateY(0.2em);
`
class OptionsContainer extends React.Component {
render() {
return (
<Flex>
<PassInput
value={this.props.pass}
onChange={this.props.onChange}
id="passwordInput" />
<LangInput
value={this.props.lang}
onChange={this.props.onChange}
id="langInput" />
<ExpiryInput
value={this.props.expiry}
onChange={this.props.onChange}
id="expiryInput" />
</Flex>
);
}
}
export default OptionsContainer
|