feat(antd-imports): establish centralized import rules for Ant Design components

- Introduced a new rules file for Ant Design component imports, enforcing the use of centralized imports from `@antd-imports` to enhance tree-shaking, maintainability, and performance.
- Updated various components to replace direct imports from 'antd' and '@ant-design/icons' with the centralized import path.
- Refactored existing components to utilize memoization and callbacks for improved performance and readability.
- Enhanced the billing and configuration components with updated styles and improved user experience.
This commit is contained in:
chamikaJ
2025-07-23 10:33:55 +05:30
parent a6286eb2b8
commit 80f5febb51
8 changed files with 639 additions and 278 deletions

View File

@@ -50,6 +50,7 @@ import {
message,
notification,
theme,
Statistic,
} from 'antd';
// Icons - Import commonly used ones
@@ -145,6 +146,7 @@ export {
message,
notification,
theme,
Statistic,
};
// TypeScript Types - Import commonly used ones