Skip to content

Commit

Permalink
Typings: RouterProps createReducer, onStateChange, getSceneStyle, uri…
Browse files Browse the repository at this point in the history
…Prefix; Reducer. (#3281)
  • Loading branch information
Michele Bombardi authored and aksonov committed Sep 20, 2018
1 parent 3188783 commit 71c9865
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Router> {
sceneStyle?: StyleProp<ViewStyle>;
backAndroidHandler?: Function;
wrapBy?: Function;
scenes?: any;
sceneStyle?: StyleProp<ViewStyle>;
backAndroidHandler?: Function;
wrapBy?: Function;
scenes?: any;
createReducer?: Function;
onStateChange?: Function;
getSceneStyle?: Function;
uriPrefix?: string;
}
interface RouterStatic extends React.ComponentClass<RouterProps> {}
interface RouterStatic extends React.ComponentClass<RouterProps> { }

// Scene
export var Scene: SceneStatic;
Expand Down

0 comments on commit 71c9865

Please sign in to comment.