mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
13 lines
458 B
TypeScript
13 lines
458 B
TypeScript
import CollapseTransition from './src/collapse-transition.vue'
|
|
import type { App } from 'vue'
|
|
import type { SFCWithInstall } from '@element-plus/utils/types'
|
|
|
|
CollapseTransition.install = (app: App): void => {
|
|
app.component(CollapseTransition.name, CollapseTransition)
|
|
}
|
|
|
|
const _CollapseTransition = CollapseTransition as SFCWithInstall<typeof CollapseTransition>
|
|
|
|
export default _CollapseTransition
|
|
export const ElCollapseTransition = _CollapseTransition
|