fcc-challenges/drum-machine-react/src/actions/setMetronomeTempoAction.js

10 lines
191 B
JavaScript
Raw Normal View History

2020-05-26 07:01:12 -07:00
export const SETMETRONOMETEMPO = "SETMETRONOMETEMPO";
export const setMetronomeTempoAction = (key,tempo) => {
return {
type: SETMETRONOMETEMPO,
key: key,
tempo: tempo,
};
};