client/src/components/Note.js
changeset 17 877d8796b86d
parent 16 e67cd18cc594
child 18 dab2a16500e0
equal deleted inserted replaced
16:e67cd18cc594 17:877d8796b86d
     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.startedAt} ⇒ {note.finishedAt} {note.plain}
     7       <h5>{note.startedAt} ⇒ {note.finishedAt}</h5>
       
     8       <div dangerouslySetInnerHTML={{ __html: note.html }} />
     8     </div>
     9     </div>
     9   );
    10   );
    10 };
    11 };
    11 
    12 
    12 Note.propTypes = {
    13 Note.propTypes = {