import { Tooltip } from '@vegaprotocol/ui-toolkit'; import classNames from 'classnames'; import type { HTMLProps, ReactNode } from 'react'; export const Card = ({ children, title, className, loading = false, highlight = false, }: { children: ReactNode; title: string; className?: string; loading?: boolean; highlight?: boolean; }) => { return (

{title}

{loading ? : children}
); }; export const CardLoader = () => { return (
); }; export const CardStat = ({ value, text, highlight, description, testId, }: { value: ReactNode; text?: string; highlight?: boolean; description?: ReactNode; testId?: string; }) => { const val = ( {value} ); return (

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

); }; export const CardTable = (props: HTMLProps) => { return ( {props.children}
); }; export const CardTableTH = (props: HTMLProps) => { return ( ); }; export const CardTableTD = (props: HTMLProps) => { return ( ); };