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.

42 lines (38 loc) 2.17 kB
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }// generated/icons/flat/DinersClub.tsx var _react = require('react'); var React = _interopRequireWildcard(_react); var DinersClub = (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 780 500", xmlSpace: "preserve", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("rect", { width: 780, height: 500, fill: "#0079BE" }), /* @__PURE__ */ React.createElement( "path", { d: "m599.93 251.45c0-99.415-82.98-168.13-173.9-168.1h-78.242c-92.003-0.033-167.73 68.705-167.73 168.1 0 90.93 75.727 165.64 167.73 165.2h78.242c90.914 0.436 173.9-74.294 173.9-165.2z", fill: "#fff" } ), /* @__PURE__ */ React.createElement( "path", { d: "m348.28 97.43c-84.07 0.027-152.19 68.308-152.21 152.58 0.02 84.258 68.144 152.53 152.21 152.56 84.09-0.027 152.23-68.303 152.24-152.56-0.011-84.272-68.149-152.55-152.24-152.58z", fill: "#0079BE" } ), /* @__PURE__ */ React.createElement( "path", { d: "m252.07 249.6c0.08-41.181 25.746-76.297 61.94-90.25v180.48c-36.194-13.948-61.861-49.045-61.94-90.23zm131 90.274v-180.53c36.207 13.92 61.914 49.057 61.979 90.257-0.065 41.212-25.772 76.322-61.979 90.269z", fill: "#fff" } )); var DinersClub_default = DinersClub; DinersClub.cardMetadata = { type: "DinersClub", displayName: "Diners Club", iconAuthor: "Aaron Fagan", iconLicense: "Apache-2.0", aliases: [], testNumbers: ["3056930009020004", "30569309025904", "38520000023237", "36227206271667"], patterns: { full: ["^3[0689][0-9]{12}$", "^30[0-5][0-9]{11}$", "^3[0689][0-9]{14}$"].map((p) => new RegExp(p)), prefix: new RegExp("^3(0[0-5]|6|8)") }, lengthRange: { "min": 14, "max": 16 }, formatPattern: { "14": [4, 6, 4], "16": [4, 4, 4, 4] }, issuingCountries: ["US"] }; exports.DinersClub_default = DinersClub_default;