Home Reference Source

src/contrib/index.js

import StripeComponent from './stripe/stripe/Stripe';
import StripeCheckoutComponent from './stripe/checkout/StripeCheckout';
import LocationComponent from './location/Location';
import EditTableComponent from './edittable/EditTable';
import ModalEdit from './modaledit/ModalEdit';

const Contrib = {
  stripe: {
    stripe: StripeComponent,
    checkout: StripeCheckoutComponent,
  },
  location: LocationComponent,
  edittable: EditTableComponent,
  modaledit: ModalEdit,
};

export default Contrib;
if (typeof global === 'object' && global.Formio) {
  global.Formio.contrib = Contrib;
}