mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 21:38:35 +03:00
Additional card cleanup
This commit is contained in:
13
src/components/presentational/CardCategory.js
Normal file
13
src/components/presentational/CardCategory.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
|
||||
const CardCategory = ({ categoryTitle, categoryLabel, colorType }) => (
|
||||
<div className="event-card-section category">
|
||||
<h4>{categoryTitle}</h4>
|
||||
<p>
|
||||
<span className={`color-category ${colorType}`}/>
|
||||
{categoryLabel}
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default CardCategory;
|
||||
Reference in New Issue
Block a user