-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
Copy pathbreadcrumb.d.ts
45 lines (39 loc) · 937 Bytes
/
breadcrumb.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// 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';
import { VNode } from "vue";
export interface Route {
path?: String;
breadcrumbName?: String;
}
export declare class Breadcrumb extends AntdComponent {
/**
* The routing stack information of router
* @type Route[]
*/
routes: Route[];
/**
* Routing parameters
* @type object
*/
params: object;
/**
* Custom separator
* @default '/'
* @type any (string | slot)
*/
separator: any;
/**
* Custom item renderer, slot="itemRender" and slot-scope="{route, params, routes, paths}"
* @type Function
*/
itemRender: (
{
route,
params,
routes,
paths
}: { route: any; params: any; routes: any; paths: any }
) => VNode;
}