summaryrefslogtreecommitdiff
path: root/frontend/src/components/modals/username.js
diff options
context:
space:
mode:
authorVictor Chabbert <chabbertvi@eisti.eu>2017-05-28 16:58:54 +0200
committerVictor Chabbert <chabbertvi@eisti.eu>2017-05-28 16:58:54 +0200
commitc3e86bed99863e38e6bbc5c42c34f8b8322228de (patch)
tree738e42b6158a0c80ceef989f6cf2a4ab4c0f52e6 /frontend/src/components/modals/username.js
parentRemove unnecessary webjars (diff)
downloadseven-wonders-c3e86bed99863e38e6bbc5c42c34f8b8322228de.tar.gz
seven-wonders-c3e86bed99863e38e6bbc5c42c34f8b8322228de.tar.bz2
seven-wonders-c3e86bed99863e38e6bbc5c42c34f8b8322228de.zip
Change print width to 120, again
Diffstat (limited to 'frontend/src/components/modals/username.js')
-rw-r--r--frontend/src/components/modals/username.js25
1 files changed, 3 insertions, 22 deletions
diff --git a/frontend/src/components/modals/username.js b/frontend/src/components/modals/username.js
index bec890b2..c00262a7 100644
--- a/frontend/src/components/modals/username.js
+++ b/frontend/src/components/modals/username.js
@@ -1,14 +1,5 @@
import React from 'react';
-import {
- Overlay,
- Panel,
- PanelHeader,
- PanelFooter,
- Button,
- Input,
- Close,
- Space,
-} from 'rebass';
+import { Overlay, Panel, PanelHeader, PanelFooter, Button, Input, Close, Space } from 'rebass';
const Modal = ({ modalOpen, toggleModal }) => (
<Overlay open={modalOpen} onDismiss={toggleModal('usernameModal')}>
@@ -18,20 +9,10 @@ const Modal = ({ modalOpen, toggleModal }) => (
<Space auto />
<Close onClick={toggleModal('usernameModal')} />
</PanelHeader>
- <Input
- label="Username"
- name="username"
- placeholder="Cesar92"
- rounded
- type="text"
- />
+ <Input label="Username" name="username" placeholder="Cesar92" rounded type="text" />
<PanelFooter>
<Space auto />
- <Button
- theme="success"
- onClick={toggleModal('usernameModal')}
- children="Ok"
- />
+ <Button theme="success" onClick={toggleModal('usernameModal')} children="Ok" />
</PanelFooter>
</Panel>
</Overlay>
bgstack15