magazineActions.js 429 Bytes
'use strict';

import ReactNative from 'react-native';
import Immutable, {Map} from 'immutable';
const {
	SET_SIMILAR_PRODUCT_INDEX,

} = require('../../constants/actionTypes').default;

import parseUtils from '../../utils/parseUtils';

export function setSimilarIndex(rowID) {
    return (dispatch, getState) => {
        dispatch( {
            type: SET_SIMILAR_PRODUCT_INDEX,
            payload: {rowID},
        });
    }
}