| author | ymh <ymh.work@gmail.com> |
| Thu, 29 Jul 2021 19:04:01 +0200 | |
| changeset 209 | a01e6a4dc9d2 |
| parent 191 | 3f71ad81a5a9 |
| permissions | -rw-r--r-- |
import React from 'react'; export default ({ annotationCategories }) => ( <div className="protocol-summary"> {annotationCategories.map((category) => ( <div className="protocol-summary-category" key={category.key} > <span className="protocol-summary-category-name badge text-light" style={{ backgroundColor: category.color, fontSize: "1em" }} >{category.name}</span> <p className="text-primary">{category.description}</p> </div> ))} </div> );