mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 17:20:09 +00:00
[react-navigation] Added TabRouter
This commit is contained in:
14
types/react-navigation/index.d.ts
vendored
14
types/react-navigation/index.d.ts
vendored
@@ -5,6 +5,7 @@
|
||||
// fangpenlin <https://github.com/fangpenlin>
|
||||
// abrahambotros <https://github.com/abrahambotros>
|
||||
// petejkim <https://github.com/petejkim>
|
||||
// Kyle Roach <https://github.com/iRoachie>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@@ -633,6 +634,19 @@ export class Transitioner extends React.Component<
|
||||
TransitionerState
|
||||
> { }
|
||||
|
||||
|
||||
/**
|
||||
* Tab Router
|
||||
*
|
||||
* @desc from react-navigation/src/routers/TabRouter.js
|
||||
* @param routeConfigs
|
||||
* @param config
|
||||
*/
|
||||
export function TabRouter(
|
||||
routeConfigs: NavigationRouteConfigMap,
|
||||
config: NavigationTabRouterConfig
|
||||
): NavigationRouter<any, any, any>
|
||||
|
||||
/**
|
||||
* END MANUAL DEFINITIONS OUTSIDE OF TYPEDEFINITION.JS
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user