Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

479 B
Raw Blame
import { cssVar, Flexbox } from '@lobehub/ui';
import { type ReactNode } from 'react';
import { memo } from 'react';

const Statistic = memo<{ title: ReactNode; value: ReactNode }>(({ value, title }) => {
  return (
    <Flexbox horizontal gap={4} style={{ color: cssVar.colorTextDescription, fontSize: 12 }}>
      <span style={{ fontWeight: 'bold' }}>{value}</span>
      <span style={{ fontWeight: 'normal' }}>{title}</span>
    </Flexbox>
  );
});

export default Statistic;