findbar action creator
This commit is contained in:
parent
7cf6b500d2
commit
cbeb31d585
5
src/actions/findbar.js
Normal file
5
src/actions/findbar.js
Normal 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 } };
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user