@lunit/oui
Version:
Lunit Oncology UI components
16 lines (15 loc) • 534 B
TypeScript
import { BoxProps } from '@mui/material';
import { PresentationSymbolProps } from '../presentations.types';
export interface StatisticSpec extends BoxProps {
componentType: 'statistic';
title: string;
layout?: 'horizontal' | 'vertical';
metrics?: string;
size?: 'small-dimmed' | 'small' | 'small-bold' | 'medium' | 'medium-bold' | 'large-bold';
symbol?: PresentationSymbolProps['symbol'];
color?: string;
id?: string;
}
export interface StatisticProps extends StatisticSpec {
isDimmed?: boolean;
}