element-plus/packages/components/collapse/index.ts
2022-02-09 16:59:08 +08:00

11 lines
320 B
TypeScript

import { withInstall, withNoopInstall } from '@element-plus/utils-v2'
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)