feat: 高级列表
This commit is contained in:
34
src/constants/icons.tsx
Normal file
34
src/constants/icons.tsx
Normal file
@@ -0,0 +1,34 @@
|
||||
// constants/icons.tsx
|
||||
import {
|
||||
EditOutlined,
|
||||
DeleteOutlined,
|
||||
EyeOutlined,
|
||||
PlusOutlined,
|
||||
ExportOutlined,
|
||||
DownloadOutlined,
|
||||
UploadOutlined,
|
||||
SearchOutlined,
|
||||
ReloadOutlined,
|
||||
SettingOutlined,
|
||||
MoreOutlined,
|
||||
CopyOutlined,
|
||||
UserOutlined,
|
||||
} from "@ant-design/icons";
|
||||
|
||||
export const ICONS = {
|
||||
edit: <EditOutlined />,
|
||||
delete: <DeleteOutlined />,
|
||||
view: <EyeOutlined />,
|
||||
add: <PlusOutlined />,
|
||||
export: <ExportOutlined />,
|
||||
download: <DownloadOutlined />,
|
||||
upload: <UploadOutlined />,
|
||||
search: <SearchOutlined />,
|
||||
reload: <ReloadOutlined />,
|
||||
setting: <SettingOutlined />,
|
||||
more: <MoreOutlined />,
|
||||
copy: <CopyOutlined />,
|
||||
user: <UserOutlined />,
|
||||
} as const;
|
||||
|
||||
export type IconType = keyof typeof ICONS;
|
||||
Reference in New Issue
Block a user