Seed data menu ekonomi - lingkungan

fix iconmap
This commit is contained in:
2026-01-21 12:07:52 +08:00
parent 17b20e0d40
commit 78c55a8a71
60 changed files with 1854 additions and 316 deletions

View File

@@ -41,6 +41,7 @@ import {
IconMessageReport,
IconUsers,
IconQuestionMark,
IconBook,
} from '@tabler/icons-react'
/* =======================
@@ -90,6 +91,7 @@ export type IconKey =
| 'informasi'
| 'pengaduan'
| 'layananPublik'
| 'book'
/* =======================
Icon Map
@@ -138,6 +140,7 @@ const iconMap: Record<IconKey, React.FC<any>> = {
informasi: IconInfoCircle,
pengaduan: IconMessageReport,
layananPublik: IconUsers,
book: IconBook
}
/* =======================

View File

@@ -5,6 +5,7 @@ import { Box, rem, Select } from '@mantine/core';
import {
IconAlertTriangle,
IconAmbulance,
IconBook,
IconBuilding,
IconBuildingCommunity,
IconCash,
@@ -85,6 +86,7 @@ const iconMap = {
informasi: { label: 'Informasi', icon: IconInfoCircle },
pengaduan: { label: 'Pengaduan', icon: IconMessageReport },
layananPublik: { label: 'Layanan Publik', icon: IconUsers },
book: { label: 'Buku', icon: IconBook }
};

View File

@@ -37,6 +37,7 @@ import {
IconShield,
IconStethoscope,
IconUsers,
IconBook,
} from '@tabler/icons-react';
const iconMap = {
@@ -83,6 +84,7 @@ const iconMap = {
informasi: { label: 'Informasi', icon: IconInfoCircle },
pengaduan: { label: 'Pengaduan', icon: IconMessageReport },
layananPublik: { label: 'Layanan Publik', icon: IconUsers },
book: { label: 'Buku', icon: IconBook }
};
export type IconKey = keyof typeof iconMap;