mirror of
https://github.com/Noooste/garage-ui.git
synced 2026-08-30 00:47:16 +00:00
feat: add Cluster management page and update API response types
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { useEffect, useState } from 'react';
|
||||
import { PieChart, Pie, Cell, Legend, Tooltip, ResponsiveContainer } from 'recharts';
|
||||
import type { BucketUsage } from '@/types';
|
||||
import { formatBytes } from '@/lib/utils';
|
||||
import { chartColorPalette, getTextColor, getTooltipStyle } from '@/lib/chart-colors';
|
||||
import {useEffect, useState} from 'react';
|
||||
import {Cell, Legend, Pie, PieChart, ResponsiveContainer, Tooltip} from 'recharts';
|
||||
import type {BucketUsage} from '@/types';
|
||||
import {formatBytes} from '@/lib/utils';
|
||||
import {chartColorPalette, getTextColor, getTooltipStyle} from '@/lib/chart-colors';
|
||||
|
||||
interface BucketUsageChartProps {
|
||||
data: BucketUsage[];
|
||||
|
||||
Reference in New Issue
Block a user