mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 12:07:54 +08:00
27 lines
910 B
TypeScript
27 lines
910 B
TypeScript
import type { App, Plugin } from 'vue';
|
|
import Breadcrumb from './Breadcrumb';
|
|
import BreadcrumbItem from './BreadcrumbItem';
|
|
import BreadcrumbSeparator from './BreadcrumbSeparator';
|
|
|
|
export type { BreadcrumbProps } from './Breadcrumb';
|
|
export type { BreadcrumbItemProps } from './BreadcrumbItem';
|
|
export type { BreadcrumbSeparatorProps } from './BreadcrumbSeparator';
|
|
|
|
Breadcrumb.Item = BreadcrumbItem;
|
|
Breadcrumb.Separator = BreadcrumbSeparator;
|
|
|
|
/* istanbul ignore next */
|
|
Breadcrumb.install = function (app: App) {
|
|
app.component(Breadcrumb.name, Breadcrumb);
|
|
app.component(BreadcrumbItem.name, BreadcrumbItem);
|
|
app.component(BreadcrumbSeparator.name, BreadcrumbSeparator);
|
|
return app;
|
|
};
|
|
|
|
export { BreadcrumbItem, BreadcrumbSeparator };
|
|
export default Breadcrumb as typeof Breadcrumb &
|
|
Plugin & {
|
|
readonly Item: typeof BreadcrumbItem;
|
|
readonly Separator: typeof BreadcrumbSeparator;
|
|
};
|