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