Rocket.Chat.ReactNative/app/reducers/navigator.js

14 lines
263 B
JavaScript
Raw Normal View History

2017-08-21 00:11:46 +00:00
import * as types from '../actions/actionsTypes';
const initialState = {};
export default function navigations(state = initialState, action) {
switch (action.type) {
case types.NAVIGATION.SET:
return action.navigator
;
default:
return state;
}
}