aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/planSelection/actions.js
blob: 21aa38aceb3dd9ef1695929adfcc83726a629e87 (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 planSelectionActions = createActionsFromDefinitions({
  upgradeAccount: {
    planId: PropTypes.string.isRequired,
    onCloseWindow: PropTypes.func.isRequired,
  },
  downgradeAccount: {},
  hideOverlay: {},
}, PropTypes.checkPropTypes);

export default planSelectionActions;