We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4108fb commit e5d7e7eCopy full SHA for e5d7e7e
components/Stats.tsx
@@ -0,0 +1,11 @@
1
+interface StatsProps {
2
+ totalPairs: number;
3
+}
4
+
5
+export default function Stats({ totalPairs }: StatsProps) {
6
+ return (
7
+ <p className="max-w-sm mx-auto border rounded-2xl py-1 px-4 text-white text-sm mb-5 hover:scale-105 transition duration-300 ease-in-out">
8
+ <b>{totalPairs}</b> pairs have been added so far
9
+ </p>
10
+ );
11
0 commit comments