Optimize tools route. Optimize multiple menu stylesheet.
This commit is contained in:
11
src/global.d.ts
vendored
11
src/global.d.ts
vendored
@@ -10,6 +10,17 @@ interface ImportMeta {
|
||||
readonly env: ImportMetaEnv
|
||||
}
|
||||
|
||||
type ToolsJsonObject = {
|
||||
path: string
|
||||
id: string
|
||||
component?: React.ComponentType
|
||||
name?: string
|
||||
icon?: IconComponent
|
||||
menu?: boolean
|
||||
auth?: boolean
|
||||
children?: ToolsJsonObject[]
|
||||
}
|
||||
|
||||
type RouteHandle = {
|
||||
name?: string
|
||||
menu?: boolean
|
||||
|
||||
Reference in New Issue
Block a user