refactor: export icons -> export icon1, export icon2, ...

This commit is contained in:
rusconn
2024-03-30 09:08:26 +09:00
parent 4114f29818
commit 339e290dba
17 changed files with 55 additions and 87 deletions

View File

@@ -1,19 +1,19 @@
import { ValidHref } from "@/types/route";
import { icons, type Icon } from "@/components/icons";
import * as icons from "@/components/icons";
type ToolGroups = {
[key: string]: ToolGroup;
};
export type ToolGroup = {
Icon: Icon;
Icon: icons.Icon;
title: string;
href: ValidHref;
tools: { [key: string]: Tool };
};
export type Tool = {
Icon: Icon;
Icon: icons.Icon;
shortTitle: string;
longTitle: string;
description: string;