docs: remove outdated comments

This commit is contained in:
satyajit.happy
2019-07-12 22:47:06 +02:00
parent 6686e0ab58
commit eeccd1b1b5
2 changed files with 0 additions and 4 deletions

View File

@@ -219,8 +219,6 @@ const StackRouter: Router<CommonAction | Action> = {
};
export default function StackNavigator(props: Props) {
// The `navigation` object contains the navigation state and some helpers (e.g. push, pop)
// The `descriptors` object contains `navigation` objects for children routes and helper for rendering a screen
const { navigation, descriptors } = useNavigationBuilder(StackRouter, props);
return (

View File

@@ -141,8 +141,6 @@ const TabRouter: Router<Action | CommonAction> = {
};
export default function TabNavigator(props: Props) {
// The `navigation` object contains the navigation state and some helpers (e.g. push, pop)
// The `descriptors` object contains `navigation` objects for children routes and helper for rendering a screen
const { navigation, descriptors } = useNavigationBuilder(TabRouter, props);
return (