static-cms/src/actions/findbar.js

6 lines
202 B
JavaScript
Raw Normal View History

2016-07-06 18:51:43 -03:00
export const RUN_COMMAND = 'RUN_COMMAND';
export function runCommand(commandName, paramName, paramValue) {
return { type: RUN_COMMAND, command: commandName, payload: { [paramName]: paramValue } };
}