WrappedRoute: fix PageProps type to include children
This commit is contained in:
parent
e402660bc1
commit
5386135112
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ import BundleContainer from '../containers/bundle_container';
|
||||||
type PageProps = {
|
type PageProps = {
|
||||||
params?: MatchType['params'],
|
params?: MatchType['params'],
|
||||||
layout?: any,
|
layout?: any,
|
||||||
|
children: React.ReactNode,
|
||||||
};
|
};
|
||||||
|
|
||||||
interface IWrappedRoute extends RouteProps {
|
interface IWrappedRoute extends RouteProps {
|
||||||
|
|
Loading…
Reference in a new issue