element-plus/packages/components/collapse-transition/index.ts

13 lines
458 B
TypeScript
Raw Normal View History

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