element-plus/packages/components/collapse/index.ts
bqy e083447b48
refactor(components): [collapse] refactor (#6307)
* refactor(components): [collapse] refactor

* refactor(components): [collapse] refactor

* refactor: rename

Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-01 20:44:32 +08:00

14 lines
385 B
TypeScript

import { withInstall, withNoopInstall } from '@element-plus/utils'
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)
export * from './src/collapse'
export * from './src/collapse-item'