/*
 *
 * CapFacebookPreview actions
 *
 */

import {
  GENERATE_PREVIEW_REQUEST,
  CLEAR_PREVIEW,
} from './constants';

export const getPreview = (previewData) => ({
  type: GENERATE_PREVIEW_REQUEST,
  previewData,
});

export const clearPreview = () => ({
  type: CLEAR_PREVIEW,
});
