@useloops/design-system
Version:
The official React based Loops design system
17 lines (14 loc) • 552 B
TypeScript
import { Theme } from '@mui/material';
import { TestKPICardProps } from '../TestKPICard/TestKPICard.js';
type KpiIndicatorColor = 'purple' | 'peach' | 'blue' | 'yellow' | 'green' | 'red';
declare const mapKpiColorSchemeByInteger: (index: number) => TestKPICardProps["colorScheme"];
declare const getKpiIndicatorColor: (theme: Theme) => {
purple: string;
peach: string;
blue: string;
yellow: string;
green: string;
red: string;
};
export { getKpiIndicatorColor, mapKpiColorSchemeByInteger };
export type { KpiIndicatorColor };