mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2025-12-17 04:59:23 +00:00
refactor: export icons -> export icon1, export icon2, ...
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user