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,
};
