// (C) 2021-2026 GoodData Corporation
const setRenderMode = (state, action) => {
    state.renderMode = action.payload;
};
const setEditRenderMode = (state) => {
    state.renderMode = "edit";
};
const setExportRenderMode = (state) => {
    state.renderMode = "export";
};
const setViewRenderMode = (state) => {
    state.renderMode = "view";
};
export const renderModeReducers = {
    setRenderMode,
    setEditRenderMode,
    setExportRenderMode,
    setViewRenderMode,
};
