UNPKG
routeria
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
A router package for react
routeria
/
dist
/
router
/
router.types.d.ts
6 lines
(5 loc)
•
228 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
ReactNode
}
from
"react"
;
export
declare
type
RouterPaths
= { [
key
:
string
]:
ReactNode
|
RouterPaths
| [
ReactNode
,
string
]; };
export
declare
type
RouterGuards
=
Record
<
string
,
boolean
| [
boolean
,
ReactNode
]>;