UNPKG
@hrobarikt/box-ui-elements
Version:
latest (2.1.1)
2.1.1
2.1.0
2.0.0
1.0.0
Box UI Elements
developer.box.com/docs/box-ui-elements
box/box-ui-elements
@hrobarikt/box-ui-elements
/
es
/
src
/
elements
/
common
/
nav-router
/
withNavRouter.d.ts
5 lines
(4 loc)
•
223 B
TypeScript
View Raw
1
2
3
4
5
import
React
from
'react'
;
import
{
WithNavRouterProps
}
from
'./types'
;
declare
const
withNavRouter
: <P
extends
object
>
(
Component
:
React
.
ComponentType
<P>
) =>
React
.
FC
<P &
WithNavRouterProps
>;
export
default
withNavRouter;