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