findbar action creator

This commit is contained in:
Cássio Zen 2016-07-06 18:51:43 -03:00
parent 7cf6b500d2
commit cbeb31d585

5
src/actions/findbar.js Normal file
View File

@ -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 } };
}