1.0.1 • Published 5 years ago
s2s-helper-get-action-obj v1.0.1
s2s-helper-get-action-obj
Helper function to get action object
API
import getActionObj from 's2s-helper-get-action-obj'
const fixture = `
export const Actions = {
INCREMENT,
DECREMENT,
}
`
helper(fixture)
// => ['INCREMENT', 'DECREMENT']