Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
export function clickMap(features) {
return {
type: 'CLICK_MAP',
payload: features
}
}
export function setStyle(style) {
return {
type: 'SET_STYLE',
payload: style
}
}
export function changeViz(event) {
return {
type: 'CHANGE_VIZ',
payload: event.target.value
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment