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.

36 lines (34 loc) 1.75 kB
// generated/icons/logo/Mastercard.tsx import * as React from "react"; var Mastercard = (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 780 500", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M465.738 113.525H313.812V386.475H465.738V113.525Z", fill: "#FF5A00" }), /* @__PURE__ */ React.createElement( "path", { d: "M323.926 250C323.926 194.545 349.996 145.326 390 113.525C360.559 90.3769 323.42 76.3867 282.91 76.3867C186.945 76.3867 109.297 154.035 109.297 250C109.297 345.965 186.945 423.614 282.91 423.614C323.42 423.614 360.559 409.623 390 386.475C349.94 355.123 323.926 305.455 323.926 250Z", fill: "#EB001B" } ), /* @__PURE__ */ React.createElement( "path", { d: "M670.711 250C670.711 345.965 593.062 423.614 497.098 423.614C456.588 423.614 419.449 409.623 390.008 386.475C430.518 354.618 456.082 305.455 456.082 250C456.082 194.545 430.012 145.326 390.008 113.525C419.393 90.3769 456.532 76.3867 497.041 76.3867C593.062 76.3867 670.711 154.541 670.711 250Z", fill: "#F79E1B" } )); var Mastercard_default = Mastercard; Mastercard.cardMetadata = { type: "Mastercard", displayName: "Mastercard", iconAuthor: "Aaron Fagan", iconLicense: "Apache-2.0", aliases: [], testNumbers: ["5555555555554444", "2223003122003222", "5200828282828210", "5105105105105100"], patterns: { full: ["^5[1-5][0-9]{14}$", "^2(?:2(?:2[1-9]|[3-9][0-9])|[3-6][0-9][0-9]|7(?:[01][0-9]|20))[0-9]{12}$"].map((p) => new RegExp(p)), prefix: new RegExp("^(5[1-5]|2(22[1-9]|2[3-9]|[3-6]|7[01]|720))") }, lengthRange: { "min": 16, "max": 16 }, formatPattern: [4, 4, 4, 4], issuingCountries: ["GLOBAL"] }; export { Mastercard_default };