import React from 'react'

interface StatProps {
    title: string
    value: string
}

const Stat = ({
    title,
    value
}: StatProps) => {
    return (
        <div className="grid grid-rows-[min-content_1fr] space-y-2">
            <div className="stat-value text-3xl sm:text-5xl text-[#0063A7]">{value}</div>
            <div className="stat-title text-wrap text-lg sm:text-2xl text-neutral">{title}</div>
        </div>
    )
}

export default Stat