import React from "react"; import { BarChart, Bar, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer, } from "recharts"; interface Props { data: TaskBreakdown[]; } interface TaskBreakdown { queue: string; // name of the queue. active: number; // number of active tasks in the queue. pending: number; // number of pending tasks in the queue. scheduled: number; // number of scheduled tasks in the queue. retry: number; // number of retry tasks in the queue. dead: number; // number of dead tasks in the queue. } function QueueSizeChart(props: Props) { return ( ); } export default QueueSizeChart;