fix: add breadcrmb-item.d.ts
parent
de68d08798
commit
2fe68c0967
|
@ -11,7 +11,7 @@ import { Alert } from './alert';
|
|||
import { Avatar } from './avatar';
|
||||
import { BackTop } from './back-top';
|
||||
import { Badge } from './badge';
|
||||
import { Breadcrumb } from './breadcrumb';
|
||||
import { Breadcrumb } from './breadcrumb/breadcrumb';
|
||||
import { Button } from './button/button';
|
||||
import { Calendar } from './calendar';
|
||||
import { Card } from './card';
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
// Project: https://github.com/vueComponent/ant-design-vue
|
||||
// Definitions by: akki-jat <https://github.com/akki-jat>
|
||||
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
||||
|
||||
import { AntdComponent } from '../component';
|
||||
|
||||
export declare class BreadcrumbItem extends AntdComponent {
|
||||
/**
|
||||
* add navigation
|
||||
* @default ''
|
||||
* @type string
|
||||
*/
|
||||
href?: String;
|
||||
}
|
|
@ -2,8 +2,9 @@
|
|||
// Definitions by: akki-jat <https://github.com/akki-jat>
|
||||
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
||||
|
||||
import { AntdComponent } from './component';
|
||||
import { AntdComponent } from '../component';
|
||||
import { VNode } from 'vue';
|
||||
import { BreadcrumbItem } from './breadcrumb-item';
|
||||
|
||||
export interface Route {
|
||||
path?: String;
|
||||
|
@ -11,6 +12,7 @@ export interface Route {
|
|||
}
|
||||
|
||||
export declare class Breadcrumb extends AntdComponent {
|
||||
static BreadcrumbItem: typeof BreadcrumbItem;
|
||||
/**
|
||||
* The routing stack information of router
|
||||
* @type Route[]
|
Loading…
Reference in New Issue