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.08 kB
JavaScript
;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/logo/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(
"path",
{
d: "m599.93 251.45c0-99.416-82.979-168.13-173.9-168.1h-78.241c-92.003-0.033-167.73 68.705-167.73 168.1 0 90.931 75.729 165.64 167.73 165.2h78.241c90.913 0.437 173.9-74.293 173.9-165.2z",
fill: "#0079BE"
}
), /* @__PURE__ */ React.createElement(
"path",
{
d: "m348.28 97.432c-84.069 0.026-152.19 68.308-152.22 152.58 0.021 84.258 68.145 152.53 152.22 152.56 84.088-0.025 152.23-68.301 152.24-152.56-0.011-84.274-68.15-152.55-152.24-152.58z",
fill: "#fff"
}
), /* @__PURE__ */ React.createElement(
"path",
{
d: "m252.07 249.6c0.08-41.18 25.747-76.296 61.94-90.25v180.48c-36.193-13.946-61.861-49.044-61.94-90.229zm131 90.275v-180.52c36.208 13.921 61.915 49.057 61.98 90.256-0.066 41.212-25.772 76.322-61.98 90.269z",
fill: "#0079BE"
}
));
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;