Skip to content

Commit 2ad7296

Browse files
icd2k3jschrader-nr
andauthored
fix: allow pass-through properties in typescript (#115)
Co-authored-by: Justin Schrader <[email protected]>
1 parent a39a8a8 commit 2ad7296

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-breadcrumbs-hoc",
3-
"version": "3.3.0",
3+
"version": "3.3.1",
44
"description": "small, flexible, higher order component for rendering breadcrumbs with react-router 4.x",
55
"repository": "icd2k3/react-router-breadcrumbs-hoc",
66
"main": "dist/cjs/index.js",

src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export interface BreadcrumbsRoute {
4646
breadcrumb?: React.ComponentType | React.ElementType | string;
4747
matchOptions?: MatchOptions;
4848
routes?: BreadcrumbsRoute[];
49+
[x: string]: any;
4950
}
5051

5152
/**

0 commit comments

Comments
 (0)