gitscope
← marzneshin / v0.1.3 / app/dashboard/src/components/statistics-card/inline-card.tsx
https://dev.kronoz.win/r/marzneshin.git
app/dashboard/src/components/statistics-card/inline-card.tsx · TypeScript
Blame Raw
 1import { StatisticsWidget } from './widget';
 2import { FC, PropsWithChildren } from 'react';
 3import { StatisticCardProps } from './statistics-props';
 4
 5export const StatisticsCardInLine: FC<PropsWithChildren<StatisticCardProps>> = ({
 6  title,
 7  content,
 8  icon }) => {
 9  return (
10    <StatisticsWidget
11      title={title}
12      icon={icon}
13      content={content}
14      display="flex"
15      justifyContent="space-between"
16      flexDirection="row"
17    />
18  );
19};