client/src/components/Note.js
changeset 16 e67cd18cc594
parent 15 4a8bbd314a46
child 17 877d8796b86d
equal deleted inserted replaced
15:4a8bbd314a46 16:e67cd18cc594
     2 import PropTypes from 'prop-types';
     2 import PropTypes from 'prop-types';
     3 
     3 
     4 const Note = ({note}) => {
     4 const Note = ({note}) => {
     5   return (
     5   return (
     6     <div id={"note-" + note.id}>
     6     <div id={"note-" + note.id}>
     7       {note.plain}
     7       {note.startedAt} ⇒ {note.finishedAt} {note.plain}
     8     </div>
     8     </div>
     9   );
     9   );
    10 };
    10 };
    11 
    11 
    12 Note.propTypes = {
    12 Note.propTypes = {