element-plus/packages/components/breadcrumb/index.ts
三咲智子 cff124ceca
refactor(components): refactor breadcrumb (#3487)
* refactor(components): refactor breadcrumb

* fix

* Revert "fix"

This reverts commit 5e096c5106.
2021-09-19 18:18:13 +08:00

14 lines
388 B
TypeScript

import { withInstall } from '@element-plus/utils/with-install'
import Breadcrumb from './src/breadcrumb.vue'
import BreadcrumbItem from './src/breadcrumb-item.vue'
export const ElBreadcrumb = withInstall(Breadcrumb, {
BreadcrumbItem,
})
export const ElBreadcrumbItem = BreadcrumbItem
export default ElBreadcrumb
export * from './src/breadcrumb'
export * from './src/breadcrumb-item'