umami/components/MetricCard.js
2020-07-28 19:04:45 -07:00

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;