refactor: update code to use centralized Ant Design imports
- Replaced direct import of '@ant-design/icons' with centralized import from '@/shared/antd-imports'
This commit is contained in:
@@ -117,6 +117,71 @@ export {
|
||||
UserAddOutlined,
|
||||
ArrowsAltOutlined,
|
||||
EllipsisOutlined,
|
||||
ExclamationCircleOutlined,
|
||||
FormatPainterOutlined,
|
||||
CloseCircleOutlined,
|
||||
MailOutlined,
|
||||
InfoCircleTwoTone,
|
||||
ContainerOutlined,
|
||||
CheckCircleFilled,
|
||||
PhoneOutlined,
|
||||
LoadingOutlined,
|
||||
PauseOutlined,
|
||||
MinusOutlined,
|
||||
ForkOutlined,
|
||||
CaretRightFilled,
|
||||
CaretDownFilled,
|
||||
DoubleLeftOutlined,
|
||||
StopOutlined,
|
||||
MenuOutlined,
|
||||
BankOutlined,
|
||||
ProjectOutlined,
|
||||
StarFilled,
|
||||
SortAscendingOutlined,
|
||||
SortDescendingOutlined,
|
||||
CaretDownOutlined,
|
||||
CaretLeftOutlined,
|
||||
CaretRightOutlined,
|
||||
CaretUpOutlined,
|
||||
QuestionCircleOutlined,
|
||||
CloseCircleFilled,
|
||||
PlusCircleOutlined,
|
||||
WifiOutlined,
|
||||
DisconnectOutlined,
|
||||
ReloadOutlined,
|
||||
ArrowRightOutlined,
|
||||
ExclamationCircleFilled,
|
||||
DownloadOutlined,
|
||||
LikeOutlined,
|
||||
LikeTwoTone,
|
||||
HomeOutlined,
|
||||
PlayCircleFilled,
|
||||
CommentOutlined,
|
||||
TagsOutlined,
|
||||
BulbOutlined,
|
||||
ReadOutlined,
|
||||
FileExcelOutlined,
|
||||
FileZipOutlined,
|
||||
GlobalOutlined,
|
||||
IdcardOutlined,
|
||||
LockOutlined,
|
||||
NotificationOutlined,
|
||||
ProfileOutlined,
|
||||
UserSwitchOutlined,
|
||||
LeftCircleOutlined,
|
||||
RightCircleOutlined,
|
||||
ClearOutlined,
|
||||
MoonOutlined,
|
||||
SunOutlined,
|
||||
EyeInvisibleOutlined,
|
||||
CreditCardOutlined,
|
||||
CheckCircleTwoTone,
|
||||
CloseCircleTwoTone,
|
||||
EnterOutlined,
|
||||
InfoCircleOutlined,
|
||||
WarningTwoTone,
|
||||
ShareAltOutlined,
|
||||
CloudDownloadOutlined
|
||||
} from '@ant-design/icons';
|
||||
|
||||
// Re-export all components with React
|
||||
@@ -174,7 +239,7 @@ export {
|
||||
Breadcrumb,
|
||||
Timeline,
|
||||
Mentions,
|
||||
Radio
|
||||
Radio,
|
||||
};
|
||||
|
||||
// TypeScript Types - Import commonly used ones
|
||||
@@ -195,6 +260,9 @@ export type {
|
||||
TabsProps,
|
||||
TableProps,
|
||||
TableColumnsType,
|
||||
PaginationProps,
|
||||
CollapseProps,
|
||||
TablePaginationConfig,
|
||||
} from 'antd/es';
|
||||
|
||||
// Dayjs
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
ClockCircleOutlined,
|
||||
CloseCircleOutlined,
|
||||
StopOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
export const avatarNamesMap: { [x: string]: string } = {
|
||||
|
||||
Reference in New Issue
Block a user