File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { InjectionKey, VNodeChild } from 'vue';
22import { createContext , useContext } from './hooks/context' ;
33import { MenuDataItem } from './typings' ;
44import { PureSettings } from './defaultSettings' ;
5-
65export interface Route {
76 path : string ;
87 breadcrumbName : string ;
@@ -14,12 +13,12 @@ export interface BreadcrumbProps {
1413 routes ?: Route [ ] ;
1514 params ?: any ;
1615 separator ?: VNodeChild ;
17- itemRender ?: (
18- route : Route ,
19- params : any ,
20- routes : Array < Route > ,
21- paths : Array < string > ,
22- ) => VNodeChild ;
16+ itemRender ?: ( opts : {
17+ route : Route ;
18+ params : any ;
19+ routes : Array < Route > ;
20+ paths : Array < string > ;
21+ } ) => VNodeChild ;
2322}
2423
2524export type BreadcrumbListReturn = Pick <
You can’t perform that action at this time.
0 commit comments