UNPKG
@orfeas126/box-ui-elements
Version:
latest (0.0.6)
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0-semantically-released
Box UI Elements
developer.box.com/docs/box-ui-elements
box/box-ui-elements
@orfeas126/box-ui-elements
/
es
/
src
/
elements
/
common
/
nav-router
/
withNavRouter.d.ts
5 lines
(4 loc)
•
228 B
TypeScript
View Raw
1
2
3
4
5
import
*
as
React
from
'react'
;
import
{
WithNavRouterProps
}
from
'./types'
;
declare
const
withNavRouter
: <P
extends
object
>
(
Component
:
React
.
ComponentType
<P>
) =>
React
.
FC
<P &
WithNavRouterProps
>;
export
default
withNavRouter;