fix: 完成左侧列表的其余内容

This commit is contained in:
mtruning
2022-01-15 12:50:00 +08:00
parent ae71e13c6d
commit f6860c3fa6
70 changed files with 336 additions and 270 deletions
+3 -3
View File
@@ -6,7 +6,7 @@ export type ConfigType = {
title: string
category: string
node: Component
image: string
image: string | (() => Promise<typeof import("*.png")>),
[T: string]: unknown
}
@@ -14,13 +14,13 @@ export type ConfigType = {
export enum PackagesCategoryEnum {
CHARTS = 'CHARTS',
TABLES = 'TABLES',
TEXTS = 'TEXTS',
INFORMATION = 'INFORMATION',
DECORATES = 'DECORATES'
}
export type PackagesType = {
[PackagesCategoryEnum.CHARTS]: ConfigType[]
[PackagesCategoryEnum.TEXTS]: ConfigType[]
[PackagesCategoryEnum.INFORMATION]: ConfigType[]
[PackagesCategoryEnum.TABLES]: ConfigType[]
[PackagesCategoryEnum.DECORATES]: ConfigType[]
}