UNPKG

react-native-payment-card-icons

Version:

A collection of high-quality, customizable payment card brand icons (Visa, Mastercard, Maestro, Amex, and more) as React Native SVG components — fully compatible with React Native, Expo, and React Native Web for seamless cross-platform use.

12 lines 729 B
export type PaymentIconType = 'alipay' | 'amex' | 'diners' | 'discover' | 'elo' | 'hiper' | 'hipercard' | 'jcb' | 'maestro' | 'mastercard' | 'mir' | 'paypal' | 'unionpay' | 'visa' | 'generic-card' | 'security-code' | 'security-code-front'; export type PaymentIconStyle = 'flat' | 'flatRounded' | 'logo' | 'logoBorder' | 'mono' | 'monoOutline'; export interface PaymentIconProps { type: PaymentIconType; variant?: PaymentIconStyle; width?: number | string; height?: number | string; fill?: string; } export declare function PaymentIcon({ type, variant, ...rest }: Readonly<PaymentIconProps>): import("react/jsx-runtime").JSX.Element | null; export default PaymentIcon; //# sourceMappingURL=PaymentIcon.d.ts.map