mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 01:35:17 +01:00
12 lines
285 B
JavaScript
12 lines
285 B
JavaScript
|
import React from 'react';
|
||
|
import styles from './MetricCard.module.css';
|
||
|
|
||
|
const MetricCard = ({ value, label }) => (
|
||
|
<div className={styles.card}>
|
||
|
<div className={styles.value}>{value}</div>
|
||
|
<div className={styles.label}>{label}</div>
|
||
|
</div>
|
||
|
);
|
||
|
|
||
|
export default MetricCard;
|