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.11 kB
import { A as Alipay } from './Alipay-CwB7CyXh.mjs'; import { A as AmericanExpress } from './AmericanExpress-BqUDWbaK.mjs'; import * as React from 'react'; import { SVGProps } from 'react'; import { D as DinersClub } from './DinersClub-D_ExmUvQ.mjs'; import { D as Discover } from './Discover-DqdLYNSX.mjs'; import { E as Elo } from './Elo-BKWuH6LF.mjs'; import { G as Generic } from './Generic-DeMwgS0c.mjs'; import { H as Hipercard } from './Hipercard-dwrukHez.mjs'; import { J as JCB } from './JCB-CoyjVGvC.mjs'; import { M as Maestro } from './Maestro-CTYjtPgK.mjs'; import { M as Mastercard } from './Mastercard-Cpd43jAR.mjs'; import { M as Mir } from './Mir-uAVksAUl.mjs'; import { P as PayPal } from './PayPal-jnBwITz9.mjs'; import { S as Swish } from './Swish-BYcW_-84.mjs'; import { U as UnionPay } from './UnionPay-CePwiyFM.mjs'; import { V as Visa } from './Visa-Ddre649H.mjs'; /** * Code payment icon component for mono 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 mono icon * * @example * ```tsx * import { Code } from 'react-svg-credit-card-payment-icons/icons/mono'; * * // 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 mono 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 mono icon * * @example * ```tsx * import { CodeFront } from 'react-svg-credit-card-payment-icons/icons/mono'; * * // 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 mono 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 mono icon * * @example * ```tsx * import { Hiper } from 'react-svg-credit-card-payment-icons/icons/mono'; * * // 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 MonoComponents_Alipay: typeof Alipay; declare const MonoComponents_AmericanExpress: typeof AmericanExpress; declare const MonoComponents_Code: typeof Code; declare const MonoComponents_CodeFront: typeof CodeFront; declare const MonoComponents_DinersClub: typeof DinersClub; declare const MonoComponents_Discover: typeof Discover; declare const MonoComponents_Elo: typeof Elo; declare const MonoComponents_Generic: typeof Generic; declare const MonoComponents_Hiper: typeof Hiper; declare const MonoComponents_Hipercard: typeof Hipercard; declare const MonoComponents_JCB: typeof JCB; declare const MonoComponents_Maestro: typeof Maestro; declare const MonoComponents_Mastercard: typeof Mastercard; declare const MonoComponents_Mir: typeof Mir; declare const MonoComponents_PayPal: typeof PayPal; declare const MonoComponents_Swish: typeof Swish; declare const MonoComponents_UnionPay: typeof UnionPay; declare const MonoComponents_Visa: typeof Visa; declare namespace MonoComponents { export { MonoComponents_Alipay as Alipay, Alipay as AlipayIcon, MonoComponents_AmericanExpress as AmericanExpress, AmericanExpress as AmericanExpressIcon, AmericanExpress as Americanexpress, AmericanExpress as Amex, MonoComponents_Code as Code, MonoComponents_CodeFront as CodeFront, CodeFront as CodeFrontIcon, Code as CodeIcon, Code as CvcBack, CodeFront as CvcFront, Code as CvvBack, CodeFront as CvvFront, DinersClub as Diners, MonoComponents_DinersClub as DinersClub, DinersClub as DinersClubIcon, MonoComponents_Discover as Discover, Discover as DiscoverIcon, MonoComponents_Elo as Elo, Elo as EloIcon, MonoComponents_Generic as Generic, Code as GenericBack, Generic as GenericCard, Code as GenericCardBack, Generic as GenericCardFront, CodeFront as GenericFrontCode, Generic as GenericIcon, MonoComponents_Hiper as Hiper, Hiper as HiperIcon, MonoComponents_Hipercard as Hipercard, Hipercard as HipercardIcon, MonoComponents_JCB as JCB, JCB as JCBIcon, JCB as Jcb, MonoComponents_Maestro as Maestro, Maestro as MaestroIcon, MonoComponents_Mastercard as Mastercard, Mastercard as MastercardIcon, MonoComponents_Mir as Mir, Mir as MirIcon, MonoComponents_PayPal as PayPal, PayPal as PayPalIcon, PayPal as Paypal, MonoComponents_Swish as Swish, Swish as SwishIcon, MonoComponents_UnionPay as UnionPay, UnionPay as UnionPayIcon, UnionPay as Unionpay, MonoComponents_Visa as Visa, Visa as VisaIcon }; } export { Code as C, Hiper as H, MonoComponents as M, CodeFront as a };