aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/trialStatusBar/actions.js
blob: 38df76458356eb13753326ed8924a368a63a2d71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import PropTypes from 'prop-types';
import { createActionsFromDefinitions } from '../../actions/lib/actions';

export const trialStatusBarActions = createActionsFromDefinitions({
  upgradeAccount: {
    planId: PropTypes.string.isRequired,
    onCloseWindow: PropTypes.func.isRequired,
  },
  downgradeAccount: {},
  hideOverlay: {},
}, PropTypes.checkPropTypes);

export default trialStatusBarActions;