blob: 26391c13a46c841ff57524e99db3ef5bda9eb769 (
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
34
35
36
37
38
|
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);
@media (max-width: 850px) {
float: none !important;
transform: translateX(-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
|