mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +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)
|