diff --git a/src/actions/findbar.js b/src/actions/findbar.js new file mode 100644 index 00000000..e8cd6917 --- /dev/null +++ b/src/actions/findbar.js @@ -0,0 +1,5 @@ +export const RUN_COMMAND = 'RUN_COMMAND'; + +export function runCommand(commandName, paramName, paramValue) { + return { type: RUN_COMMAND, command: commandName, payload: { [paramName]: paramValue } }; +}