import clsx from 'clsx' import type { ReactNode } from 'react' export interface StatsProps { title: string children: ReactNode } export const Stats = ({ title, children }: StatsProps) => { return (
{title}
{children}
) } export interface StatsDenomProps { text: string | null } Stats.Denom = function StatsDenom({ text }: StatsDenomProps) { /* Slice the first character because we get "u" for the denom */ return {text?.slice(1)} }