chore: migrating easy-to-migrate AntD vanilla components (#32010)
This commit is contained in:
parent
8d1fb9c82d
commit
1c3ec21e0f
|
|
@ -21,6 +21,7 @@
|
||||||
*.swp
|
*.swp
|
||||||
__pycache__
|
__pycache__
|
||||||
|
|
||||||
|
.aider*
|
||||||
.local
|
.local
|
||||||
.cache
|
.cache
|
||||||
.bento*
|
.bento*
|
||||||
|
|
|
||||||
|
|
@ -26,24 +26,23 @@ export { default as Select } from './Select/Select';
|
||||||
export { default as AsyncSelect } from './Select/AsyncSelect';
|
export { default as AsyncSelect } from './Select/AsyncSelect';
|
||||||
export { default as Button } from './Button';
|
export { default as Button } from './Button';
|
||||||
export { default as Card } from './Card';
|
export { default as Card } from './Card';
|
||||||
/*
|
|
||||||
* Components that don't conflict with the ones in src/components.
|
// Vanilla Ant Design components from v5
|
||||||
* As Superset progresses to support full theming, this list should
|
|
||||||
* decrease in favor of the components defined in src/components.
|
|
||||||
*/
|
|
||||||
export {
|
export {
|
||||||
AutoComplete,
|
AutoComplete,
|
||||||
Col,
|
Col,
|
||||||
Grid,
|
Grid,
|
||||||
|
Layout,
|
||||||
Row,
|
Row,
|
||||||
Skeleton,
|
Skeleton,
|
||||||
Tag,
|
Tag,
|
||||||
Tree,
|
Tree,
|
||||||
TreeSelect,
|
TreeSelect,
|
||||||
Typography,
|
Typography,
|
||||||
Upload,
|
} from 'antd-v5';
|
||||||
} from 'antd';
|
|
||||||
export { Layout } from 'antd-v5';
|
// Vanilla Ant Design components from v4 that require migration
|
||||||
|
export { Upload } from 'antd';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Components that conflict with the ones in src/components.
|
* Components that conflict with the ones in src/components.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue