import { Tooltip } from '@vegaprotocol/ui-toolkit'; import classNames from 'classnames'; import type { ReactNode } from 'react'; export const Stat = ({ value, text, highlight, description, }: { value: string | number; text?: string; highlight?: boolean; description?: ReactNode; }) => { const val = ( {value} ); return (

{description ? {val} : val} {text && ( {text} )}

); };