mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-09-29 23:43:18 -07:00
* Make latest copy changes - update snapshots * Update cypress test on feedback link - update snapshot * Update side panel and copy - update snapshots * Make 2nd EO link open in new tab * Add latest changes from Living copy * Add back HS indicator to map * Add "X of Y thresholds exceed" to side panel - update snapshots * Update with latest copy * Update to latest copy - make BETA pill in logo bold - correct exceed to exceeded - update snapshots - update page title to Meth & data * Update total indicators to 21 * Update snapshot
22 lines
490 B
TypeScript
22 lines
490 B
TypeScript
import React from 'react';
|
|
import DisadvantageDot from '../DisadvantageDot';
|
|
|
|
import * as styles from './Category.module.scss';
|
|
|
|
interface ICategory {
|
|
name: string;
|
|
isDisadvantaged: boolean;
|
|
}
|
|
|
|
const Category = ({name, isDisadvantaged}:ICategory) => {
|
|
return (
|
|
<div className={styles.categoryContainer}>
|
|
<div className={styles.category}>
|
|
{name}
|
|
</div>
|
|
<DisadvantageDot isDisadvantaged={isDisadvantaged}/>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default Category;
|