PromucFlow_constructor/app/client/src/actions/reflowActions.ts
2022-04-20 18:33:30 +05:30

21 lines
451 B
TypeScript

import {
ReduxAction,
ReflowReduxActionTypes,
} from "@appsmith/constants/ReduxActionConstants";
import { ReflowedSpaceMap } from "reflow/reflowTypes";
export const reflowMoveAction = (
payload: ReflowedSpaceMap,
): ReduxAction<ReflowedSpaceMap> => {
return {
type: ReflowReduxActionTypes.REFLOW_MOVE,
payload: payload,
};
};
export const stopReflowAction = () => {
return {
type: ReflowReduxActionTypes.STOP_REFLOW,
};
};