client/src/components/NotesContainer.js
changeset 2 b52921a63e77
parent 1 431977d7c9a6
child 3 3b5d37d84cfe
--- a/client/src/components/NotesContainer.js	Mon May 22 14:34:35 2017 +0200
+++ b/client/src/components/NotesContainer.js	Mon May 22 17:59:19 2017 +0200
@@ -5,6 +5,8 @@
 import PropTypes from 'prop-types';
 import Immutable from 'immutable';
 
+import { Grid, Row, Col} from 'react-bootstrap';
+
 import * as notesActions from '../actions/notes-actions';
 import NotesList from './NotesList';
 import NoteInput from './NoteInput';
@@ -13,10 +15,18 @@
     render() {
         const { notes } = this.props;
         return (
-            <div>
+          <Grid>
+            <Row>
+              <Col xs={12} md={12}>
                 <NotesList notes={notes} />
+              </Col>
+            </Row>
+            <Row>
+              <Col xs={12} md={12}>
                 <NoteInput addNote={this.props.actions.addNote} />
-            </div>
+              </Col>
+            </Row>
+          </Grid>
         );
     }
 }