Seed data menu ekonomi - lingkungan
fix iconmap
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
/* =======================
|
||||
|
||||
@@ -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 }
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user