From cbeb31d585f96bb0909f413a2c2c5e66a220e404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A1ssio=20Zen?= Date: Wed, 6 Jul 2016 18:51:43 -0300 Subject: [PATCH] findbar action creator --- src/actions/findbar.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/actions/findbar.js 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 } }; +}