"use client"; import React from "react"; import { useTheme } from "next-themes"; import { colors } from "@/lib/colors"; import { useConfig } from "@/hooks/use-config"; import { Radar, RadarChart, PolarGrid, PolarAngleAxis, PolarRadiusAxis, ResponsiveContainer, } from "recharts"; const ReSimpleRadarChart = ({ height = 300 }) => { const { theme: mode } = useTheme(); const data = [ { subject: "Math", A: 120, B: 110, fullMark: 150, }, { subject: "Chinese", A: 98, B: 130, fullMark: 150, }, { subject: "English", A: 86, B: 130, fullMark: 150, }, { subject: "Geography", A: 99, B: 100, fullMark: 150, }, { subject: "Physics", A: 85, B: 90, fullMark: 150, }, { subject: "History", A: 65, B: 85, fullMark: 150, }, ]; return ( ); }; export default ReSimpleRadarChart;