element-plus/packages/collapse/index.ts

12 lines
304 B
TypeScript
Raw Normal View History

2020-08-07 16:51:34 +08:00
import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
2020-08-07 16:51:34 +08:00
import Collapse from './src/collapse.vue'
2020-10-29 17:28:26 +08:00
Collapse.install = (app: App): void => {
2020-08-07 16:51:34 +08:00
app.component(Collapse.name, Collapse)
}
2020-10-29 17:28:26 +08:00
const _Collapse: SFCWithInstall<typeof Collapse> = Collapse
export default _Collapse