|
174
|
1 |
import React from 'react'; |
|
|
2 |
import './ProtocolSummary.css' |
|
165
|
3 |
|
|
|
4 |
|
|
174
|
5 |
export default ({ annotationCategories }) => ( |
|
|
6 |
<div className="protocol-summary"> |
|
|
7 |
{annotationCategories.map((category) => ( |
|
|
8 |
<div className="protocol-summary-category" key={category.key} > |
|
|
9 |
<span className="protocol-summary-category-name badge text-light" style={{ backgroundColor: category.color, fontSize: "1em" }} >{category.name}</span> |
|
|
10 |
<p className="text-primary">{category.description}</p> |
|
|
11 |
</div> |
|
|
12 |
))} |
|
|
13 |
</div> |
|
|
14 |
); |