diff options
author | Renard | 2019-09-22 00:28:21 -0300 |
---|---|---|
committer | Renard | 2019-09-22 00:28:21 -0300 |
commit | 4f42b5a2b35cf61d6042562195755699f9de177f (patch) | |
tree | d874b49c0aeaa1d98ad9aea978c2f417b6788806 /src/ReplyForm.js | |
parent | 8db5e7649c1d3ceba35cc52e191da1d264994f45 (diff) | |
download | bai-client-4f42b5a2b35cf61d6042562195755699f9de177f.tar.gz bai-client-4f42b5a2b35cf61d6042562195755699f9de177f.tar.xz bai-client-4f42b5a2b35cf61d6042562195755699f9de177f.zip |
Nightmode
Diffstat (limited to 'src/ReplyForm.js')
-rw-r--r-- | src/ReplyForm.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/ReplyForm.js b/src/ReplyForm.js index a9f461d..564ed88 100644 --- a/src/ReplyForm.js +++ b/src/ReplyForm.js @@ -73,7 +73,7 @@ class ReplyForm extends Component { render() { const { name, email, message, replyRes, attachment } = this.state; - const { currentBoard } = this.props; + const { currentBoard, nightMode } = this.props; if (this.props.locked === 1) { return ( <Message negative> @@ -83,7 +83,7 @@ class ReplyForm extends Component { ); } return ( - <Segment> + <Segment inverted={nightMode}> {replyRes !== null ? ( replyRes.state === "success" ? ( <Message positive> @@ -101,7 +101,7 @@ class ReplyForm extends Component { </Message> ) ) : null} - <Form onSubmit={this.handleSubmit}> + <Form onSubmit={this.handleSubmit} inverted={nightMode}> <Form.Group widths="equal"> <Form.Input label="Nombre" @@ -143,9 +143,7 @@ class ReplyForm extends Component { placeholder="( ・ω・) Cuentáme algo interesante ..." onChange={this.handleChange} /> - <Button type="submit" secondary> - Enviar - </Button> + <Button type="submit">Enviar</Button> </Form> </Segment> ); |