mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +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
|