feat: add backBehavior to TabRouter

This commit is contained in:
satyajit.happy
2019-08-01 01:25:37 +02:00
committed by Satyajit Sahoo
parent 0e2754df5b
commit cc76c69e70
3 changed files with 85 additions and 14 deletions

View File

@@ -14,8 +14,7 @@ import {
DefaultRouterOptions,
} from '../src/index';
type Props = {
initialRouteName?: string;
type Props = DefaultRouterOptions & {
children: React.ReactNode;
};