Add icon to tool create

This commit is contained in:
2024-01-26 17:30:37 +08:00
parent 5fb4cfe55d
commit 988f759901
3 changed files with 65 additions and 1 deletions

5
src/ant-design.d.ts vendored
View File

@@ -1,6 +1,6 @@
import { ComponentType, ForwardRefExoticComponent, Key, SVGProps } from 'react'
import { CustomIconComponentProps } from '@ant-design/icons/es/components/Icon'
import { TablePaginationConfig } from 'antd/lib'
import { GetProp, TablePaginationConfig, UploadProps } from 'antd/lib'
import { ColumnsType, FilterValue, SorterResult, SortOrder } from 'antd/es/table/interface'
import { CheckboxChangeEvent } from 'antd/es/checkbox'
import type { DataNode } from 'antd/es/tree'
@@ -23,4 +23,7 @@ declare global {
parentId?: number
children?: _DataNode[]
}
type _UploadProps = UploadProps
type _GetProp<T, PropName> = GetProp<T, PropName>
}