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.

52 lines (49 loc) 1.43 kB
import * as React from 'react'; import { SVGProps } from 'react'; /** * UnionPay payment icon component for flat-rounded style. * * This is an auto-generated SVG React component for the UnionPay 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 UnionPay flat-rounded icon * * @example * ```tsx * import { UnionPay } from 'react-svg-credit-card-payment-icons/icons/flat-rounded'; * * // Basic usage * <UnionPay /> * * // With custom size * <UnionPay width={100} height={64} /> * * // With custom styling * <UnionPay className="my-icon" style={{ opacity: 0.8 }} /> * ``` * * @see {@link https://github.com/marcovoliveira/react-svg-credit-card-payment-icons | GitHub Repository} */ declare const UnionPay: { (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[]; }; }; export { UnionPay as U };