ant-design-vue/components/breadcrumb/index.js
xrkffgg 1884a7c4c6
feat: update breadcrumb (#2389)
* feat: update breadcrumb

* fix: slots
2020-06-09 12:54:37 +08:00

16 lines
482 B
JavaScript

import Breadcrumb from './Breadcrumb';
import BreadcrumbItem from './BreadcrumbItem';
import BreadcrumbSeparator from './BreadcrumbSeparator';
Breadcrumb.Item = BreadcrumbItem;
Breadcrumb.Separator = BreadcrumbSeparator;
/* istanbul ignore next */
Breadcrumb.install = function(app) {
app.component(Breadcrumb.name, Breadcrumb);
app.component(BreadcrumbItem.name, BreadcrumbItem);
app.component(BreadcrumbSeparator.name, BreadcrumbSeparator);
};
export default Breadcrumb;