element-plus/packages/breadcrumb/index.ts

12 lines
317 B
TypeScript
Raw Normal View History

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