react-native-template-allmax
Version:
React native template with navigation, redux, redux-saga, eslit, flow, reactotron
27 lines (21 loc) • 441 B
JavaScript
/**
* Created by Bardiaswift
*
* @flow
*/
export type AppState = {|
isLoading: boolean,
|};
type SetAppPayload = $Shape<AppState>;
export type SetAppAction = {|
type: 'App/SET',
payload: SetAppPayload,
|};
export type OnAppStartAction = {|
type: 'App/ON_START',
|};
export type AppAction = (
| SetAppAction
);
export type SetApp = (payload: SetAppPayload) => SetAppAction;
export type OnAppStart = () => OnAppStartAction;