diff -r 0e6703cd0968 -r ac1a026edd58 client/src/components/ProtocolSummary.js --- a/client/src/components/ProtocolSummary.js Fri Nov 16 11:19:13 2018 +0100 +++ b/client/src/components/ProtocolSummary.js Fri Nov 16 17:01:19 2018 +0100 @@ -1,29 +1,14 @@ -import React, { Component } from 'react'; -import '../App.css'; -import './SessionSummary.css' +import React from 'react'; +import './ProtocolSummary.css' -export default class ProtocolSummary extends Component { - render() { - return ( -
-
- important -

la métacatégorie important

-
-
- mot-clé -

la métacatégorie mot-clé

-
-
- commentaire -

la métacatégorie commentaire

-
-
- trouble -

la métacatégorie trouble

-
-
- ); - } -} +export default ({ annotationCategories }) => ( +
+ {annotationCategories.map((category) => ( +
+ {category.name} +

{category.description}

+
+ ))} +
+);