UNPKG

react-svg-credit-card-payment-icons

Version:

React components library with 6 styles, 108 icons, TypeScript support, and a variety of types and formats for easy integration into React applications.

177 lines (171 loc) 7.1 kB
import { A as Alipay } from './Alipay-Fciy41cp.js'; import { A as AmericanExpress } from './AmericanExpress-BPyT-KW-.js'; import * as React from 'react'; import { SVGProps } from 'react'; import { D as DinersClub } from './DinersClub-CCidJzjk.js'; import { D as Discover } from './Discover-CRDqswZc.js'; import { E as Elo } from './Elo-O-KoZROz.js'; import { G as Generic } from './Generic-B-lCTXSh.js'; import { H as Hipercard } from './Hipercard-DV1AkwpF.js'; import { J as JCB } from './JCB-BVE6fAtF.js'; import { M as Maestro } from './Maestro-CK68kYa2.js'; import { M as Mastercard } from './Mastercard-BAbqwp5C.js'; import { M as Mir } from './Mir-37zRPQsi.js'; import { P as PayPal } from './PayPal-Bc7GMZot.js'; import { S as Swish } from './Swish-DiwlHXcn.js'; import { U as UnionPay } from './UnionPay-BKtojwLB.js'; import { V as Visa } from './Visa-ka9Sv-HM.js'; /** * Code payment icon component for flat style. * * This is an auto-generated SVG React component for the Code payment method. * It accepts all standard SVG element props and can be styled or sized as needed. * * @param props - Standard SVG element props (className, style, width, height, etc.) * @returns A React component rendering the Code flat icon * * @example * ```tsx * import { Code } from 'react-svg-credit-card-payment-icons/icons/flat'; * * // Basic usage * <Code /> * * // With custom size * <Code width={100} height={64} /> * * // With custom styling * <Code className="my-icon" style={{ opacity: 0.8 }} /> * ``` * * @see {@link https://github.com/marcovoliveira/react-svg-credit-card-payment-icons | GitHub Repository} */ declare const Code: { (props: SVGProps<SVGSVGElement>): React.JSX.Element; cardMetadata: { type: string; displayName: string; iconAuthor: string; iconLicense: string; aliases: string[]; testNumbers: never[]; patterns: { full: RegExp[]; prefix: null; }; lengthRange: null; formatPattern: null; issuingCountries: null; }; }; /** * CodeFront payment icon component for flat style. * * This is an auto-generated SVG React component for the CodeFront payment method. * It accepts all standard SVG element props and can be styled or sized as needed. * * @param props - Standard SVG element props (className, style, width, height, etc.) * @returns A React component rendering the CodeFront flat icon * * @example * ```tsx * import { CodeFront } from 'react-svg-credit-card-payment-icons/icons/flat'; * * // Basic usage * <CodeFront /> * * // With custom size * <CodeFront width={100} height={64} /> * * // With custom styling * <CodeFront className="my-icon" style={{ opacity: 0.8 }} /> * ``` * * @see {@link https://github.com/marcovoliveira/react-svg-credit-card-payment-icons | GitHub Repository} */ declare const CodeFront: { (props: SVGProps<SVGSVGElement>): React.JSX.Element; cardMetadata: { type: string; displayName: string; iconAuthor: string; iconLicense: string; aliases: string[]; testNumbers: never[]; patterns: { full: RegExp[]; prefix: null; }; lengthRange: null; formatPattern: null; issuingCountries: null; }; }; /** * Hiper payment icon component for flat style. * * This is an auto-generated SVG React component for the Hiper payment method. * It accepts all standard SVG element props and can be styled or sized as needed. * * @param props - Standard SVG element props (className, style, width, height, etc.) * @returns A React component rendering the Hiper flat icon * * @example * ```tsx * import { Hiper } from 'react-svg-credit-card-payment-icons/icons/flat'; * * // Basic usage * <Hiper /> * * // With custom size * <Hiper width={100} height={64} /> * * // With custom styling * <Hiper className="my-icon" style={{ opacity: 0.8 }} /> * ``` * * @see {@link https://github.com/marcovoliveira/react-svg-credit-card-payment-icons | GitHub Repository} */ declare const Hiper: { (props: SVGProps<SVGSVGElement>): React.JSX.Element; cardMetadata: { type: string; displayName: string; iconAuthor: string; iconLicense: string; aliases: never[]; testNumbers: string[]; patterns: { full: RegExp[]; prefix: RegExp; }; lengthRange: { min: number; max: number; }; formatPattern: number[]; issuingCountries: string[]; }; }; declare const FlatComponents_Alipay: typeof Alipay; declare const FlatComponents_AmericanExpress: typeof AmericanExpress; declare const FlatComponents_Code: typeof Code; declare const FlatComponents_CodeFront: typeof CodeFront; declare const FlatComponents_DinersClub: typeof DinersClub; declare const FlatComponents_Discover: typeof Discover; declare const FlatComponents_Elo: typeof Elo; declare const FlatComponents_Generic: typeof Generic; declare const FlatComponents_Hiper: typeof Hiper; declare const FlatComponents_Hipercard: typeof Hipercard; declare const FlatComponents_JCB: typeof JCB; declare const FlatComponents_Maestro: typeof Maestro; declare const FlatComponents_Mastercard: typeof Mastercard; declare const FlatComponents_Mir: typeof Mir; declare const FlatComponents_PayPal: typeof PayPal; declare const FlatComponents_Swish: typeof Swish; declare const FlatComponents_UnionPay: typeof UnionPay; declare const FlatComponents_Visa: typeof Visa; declare namespace FlatComponents { export { FlatComponents_Alipay as Alipay, Alipay as AlipayIcon, FlatComponents_AmericanExpress as AmericanExpress, AmericanExpress as AmericanExpressIcon, AmericanExpress as Americanexpress, AmericanExpress as Amex, FlatComponents_Code as Code, FlatComponents_CodeFront as CodeFront, CodeFront as CodeFrontIcon, Code as CodeIcon, Code as CvcBack, CodeFront as CvcFront, Code as CvvBack, CodeFront as CvvFront, DinersClub as Diners, FlatComponents_DinersClub as DinersClub, DinersClub as DinersClubIcon, FlatComponents_Discover as Discover, Discover as DiscoverIcon, FlatComponents_Elo as Elo, Elo as EloIcon, FlatComponents_Generic as Generic, Code as GenericBack, Generic as GenericCard, Code as GenericCardBack, Generic as GenericCardFront, CodeFront as GenericFrontCode, Generic as GenericIcon, FlatComponents_Hiper as Hiper, Hiper as HiperIcon, FlatComponents_Hipercard as Hipercard, Hipercard as HipercardIcon, FlatComponents_JCB as JCB, JCB as JCBIcon, JCB as Jcb, FlatComponents_Maestro as Maestro, Maestro as MaestroIcon, FlatComponents_Mastercard as Mastercard, Mastercard as MastercardIcon, FlatComponents_Mir as Mir, Mir as MirIcon, FlatComponents_PayPal as PayPal, PayPal as PayPalIcon, PayPal as Paypal, FlatComponents_Swish as Swish, Swish as SwishIcon, FlatComponents_UnionPay as UnionPay, UnionPay as UnionPayIcon, UnionPay as Unionpay, FlatComponents_Visa as Visa, Visa as VisaIcon }; } export { Code as C, FlatComponents as F, Hiper as H, CodeFront as a };