mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-12 12:25:22 +08:00
55348b30b6
* style: use prettier * style: just prettier format, no code changes * style: eslint fix object-shorthand, prefer-const * style: fix no-void * style: no-console
15 lines
462 B
TypeScript
15 lines
462 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
|