element-plus/packages/components/collapse/index.ts

11 lines
330 B
TypeScript
Raw Normal View History

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)