Additional card cleanup

This commit is contained in:
Franc Camps-Febrer
2018-11-27 12:44:40 -05:00
parent b658356448
commit 20051db90a
20 changed files with 347 additions and 191 deletions

View 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;