Files
devhub/@types/react-navigation-tabs/index.d.ts
Bruno Lemos 0d509399e2 Use react-navigation-tabs
Fix deprecation warning

Fix types
2018-10-02 00:13:46 -03:00

31 lines
682 B
TypeScript

declare module 'react-navigation-tabs' {
import './BottomTabBar'
import './MaterialTopTabBar'
import {
BottomTabBar,
BottomTabBarProps,
} from 'react-navigation-tabs/src/views/BottomTabBar'
import {
MaterialTopTabBar,
MaterialTopTabBarProps,
} from 'react-navigation-tabs/src/views/MaterialTopTabBar'
/**
* Navigators
*/
// export type createBottomTabNavigator = any
// export type createMaterialTopTabNavigator = any
/**
* Views
*/
export { BottomTabBar, BottomTabBarProps }
export { MaterialTopTabBar, MaterialTopTabBarProps }
/**
* Utils
*/
export function createTabNavigator(routes: any, config?: object): any
}