import { createStyles, Title, useMantineTheme } from '@mantine/core'; import { DashDotCompactNetwork, DashDotInfo } from './DashDotCompactNetwork'; import { DashDotCompactStorage } from './DashDotCompactStorage'; interface DashDotGraphProps { graph: string; graphHeight: number; isCompact: boolean; multiView: boolean; dashDotUrl: string; usePercentages: boolean; info: DashDotInfo; } export const DashDotGraph = ({ graph, graphHeight, isCompact, multiView, dashDotUrl, usePercentages, info, }: DashDotGraphProps) => { const { classes } = useStyles(); return graph === 'storage' && isCompact ? ( ) : graph === 'network' && isCompact ? ( ) : (
{graph}