import { Box, Card, Group, Stack, Text, useMantineColorScheme, } from "@mantine/core"; import { ChevronRight } from "lucide-react"; interface DivisionItem { name: string; count: number; } const divisionData: DivisionItem[] = [ { name: "Kesejahteraan", count: 37 }, { name: "Pemerintahan", count: 26 }, { name: "Keuangan", count: 17 }, { name: "Sekretaris Desa", count: 15 }, { name: "Tata Usaha TK", count: 14 }, { name: "Perangkat Kewilayahan", count: 12 }, { name: "Pelayanan", count: 10 }, { name: "Perencanaan", count: 9 }, { name: "Tata Usaha & Umum", count: 7 }, ]; export function DivisionList() { const { colorScheme } = useMantineColorScheme(); const dark = colorScheme === "dark"; return ( Divisi Teraktif {divisionData.map((division, index) => ( {division.name} {division.count} ))} ); }