diff --git a/index.d.ts b/index.d.ts index 4a9e23365..1fec6b8ba 100644 --- a/index.d.ts +++ b/index.d.ts @@ -7,14 +7,22 @@ import { StyleProp, Image, ViewStyle, TextStyle, ImageStyle } from 'react-native export var Router: RouterStatic; export type Router = RouterStatic; +// Reducer +export var Reducer: any; +export type Reducer = any; + // Router interface RouterProps extends React.Props { - sceneStyle?: StyleProp; - backAndroidHandler?: Function; - wrapBy?: Function; - scenes?: any; + sceneStyle?: StyleProp; + backAndroidHandler?: Function; + wrapBy?: Function; + scenes?: any; + createReducer?: Function; + onStateChange?: Function; + getSceneStyle?: Function; + uriPrefix?: string; } -interface RouterStatic extends React.ComponentClass {} +interface RouterStatic extends React.ComponentClass { } // Scene export var Scene: SceneStatic;