statcard delete
This commit is contained in:
parent
1c7d02d47b
commit
963f6d94b1
|
|
@ -1,19 +0,0 @@
|
||||||
// Modules
|
|
||||||
|
|
||||||
// Types
|
|
||||||
interface Props {
|
|
||||||
topNumber?: number;
|
|
||||||
text: string;
|
|
||||||
color: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
const StatCard = ({ color, topNumber, text }: Props) => {
|
|
||||||
return (
|
|
||||||
<div className={`statcard ${color}`}>
|
|
||||||
<span>{topNumber}</span>
|
|
||||||
<p>{text}</p>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default StatCard;
|
|
||||||
Loading…
Reference in New Issue