@react-navigation/routers 8.0.0-alpha.6 → 8.0.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/types.tsx CHANGED
@@ -232,17 +232,6 @@ export type Router<
232
232
  */
233
233
  shouldActionChangeFocus(action: NavigationAction): boolean;
234
234
 
235
- /**
236
- * Get the list of routes from the navigation state.
237
- *
238
- * By default, `state.routes` is used.
239
- * But in some cases (like `preloadedRoutes` in stack),
240
- * the actual list of routes may be different.
241
- *
242
- * @param state Navigation state to get the routes from.
243
- */
244
- getRoutesFromState?(state: State): Route<string>[];
245
-
246
235
  /**
247
236
  * Action creators for the router.
248
237
  */