mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
3138dea797
- Add noop install for all sub components for supress the warning
11 lines
330 B
TypeScript
11 lines
330 B
TypeScript
import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
|
|
|
|
import Collapse from './src/collapse.vue'
|
|
import CollapseItem from './src/collapse-item.vue'
|
|
|
|
export const ElCollapse = withInstall(Collapse, {
|
|
CollapseItem,
|
|
})
|
|
export default ElCollapse
|
|
export const ElCollapseItem = withNoopInstall(CollapseItem)
|