You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
244 B

  1. export const MEDIA_OPEN = 'MEDIA_OPEN';
  2. export const MODAL_CLOSE = 'MODAL_CLOSE';
  3. export function openMedia(url) {
  4. return {
  5. type: MEDIA_OPEN,
  6. url: url
  7. };
  8. };
  9. export function closeModal() {
  10. return {
  11. type: MODAL_CLOSE
  12. };
  13. };