diff -r d076a27e5631 -r 431977d7c9a6 client/src/components/NotesList.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/components/NotesList.js Mon May 22 14:34:35 2017 +0200 @@ -0,0 +1,22 @@ +import React from 'react'; + +import PropTypes from 'prop-types'; +import Immutable from 'immutable'; + +import Note from './Note'; + +const NotesList = ({notes}) => { + return ( +
+ {notes.map((note) => + + )} +
+ ); +}; + +NotesList.propTypes = { + notes: PropTypes.instanceOf(Immutable.List).isRequired +}; + +export default NotesList; \ No newline at end of file