fix: add breadcrmb-item.d.ts

pull/471/head
wangxueliang 2019-01-29 12:20:14 +08:00
parent de68d08798
commit 2fe68c0967
3 changed files with 18 additions and 2 deletions

View File

@ -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';

14
types/breadcrumb/breadcrumb-item.d.ts vendored Normal file
View File

@ -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;
}

View File

@ -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[]