UNPKG

@rebilly/framepay-react

Version:

A React wrapper for Rebilly's FramePay offering out-of-the-box support for Redux and other common React features

30 lines (26 loc) 713 B
import * as React from 'react'; /** * * Constants file. * Links to the remote library FramePay and other settings. * */ /** * The ReactJS version 14+ * used in context.ts */ export const REACT_VERSION = React.version; /** * Supported FramePay card types */ export const SUPPORTED_CARD_BRANDS: SupportedCardBrandsObject = { Amex: SupportedCardBrands.Amex, AstroPayCard: SupportedCardBrands.AstroPayCard, Cup: SupportedCardBrands.Cup, DinersClub: SupportedCardBrands.DinersClub, Discover: SupportedCardBrands.Discover, JCB: SupportedCardBrands.JCB, Maestro: SupportedCardBrands.Maestro, MasterCard: SupportedCardBrands.MasterCard, Visa: SupportedCardBrands.Visa, };