mahaplatform/reframe

View on GitHub
src/containers/modal/actions.js

Summary

Maintainability
A
0 mins
Test Coverage
export const close = () => ({
  type: 'CLOSE'
})

export const open = (component) => ({
  type: 'OPEN',
  component
})

export const pop = (num = 1) => ({
  type: 'POP',
  num
})

export const push = (component) => ({
  type: 'PUSH',
  component
})