appActions.js
575 Bytes
/**
* # guideActions.js
*
* App user guide
*
*/
'use strict';
import {Actions} from 'react-native-router-flux';
const {
SET_PLATFORM,
SET_CONTAINER,
SET_CHANNEL,
} = require('../../constants/actionTypes').default;
export function setPlatform(platform) {
return {
type: SET_PLATFORM,
payload: platform
};
}
export function setContianer(container) {
return {
type: SET_CONTAINER,
payload: container
};
}
export function setChannel(channel) {
return {
type: SET_CHANNEL,
payload: channel
};
}