import {SecuritySummaryReportResultType} from "@/types/security-summary"; import {Label, Pie, PieChart, Sector} from "recharts"; import {PieSectorDataItem} from "recharts/types/polar/Pie"; import React from "react"; type ChartData = { name: string, value: number, fill: string } export default function VulnerabilityPieChart({ vulnerabilityData, activeIndex }: { vulnerabilityData: ChartData[], activeIndex: number }) { return ( <>
( )} >
) }