@carbon/pictograms-react
Version:
React components for pictograms in digital and software products using the Carbon Design System
37 lines (36 loc) • 1.57 kB
JavaScript
/**
* Copyright IBM Corp. 2019, 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
const require_rolldown_runtime = require("../rolldown-runtime-BmbvWPDh.cjs");
const require_Icon_js = require("../Icon.js");
let react = require("react");
react = require_rolldown_runtime.__toESM(react);
let react_jsx_runtime = require("react/jsx-runtime");
//#region virtual:credit--card/index.js
/**
* Copyright IBM Corp. 2019, 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
const CreditCard = /*#__PURE__*/ react.default.forwardRef(function CreditCard({ children, ...rest }, ref) {
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Icon_js, {
width: 64,
height: 64,
viewBox: "0 0 32 32",
xmlns: "http://www.w3.org/2000/svg",
fill: "currentColor",
ref,
...rest,
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M29,26.36H3c-1.301,0-2.36-1.059-2.36-2.36V8c0-1.301,1.059-2.36,2.36-2.36h26 c1.302,0,2.36,1.059,2.36,2.36v16C31.36,25.302,30.302,26.36,29,26.36z M1.36,13.36V24c0,0.904,0.736,1.64,1.64,1.64h26 c0.904,0,1.64-0.735,1.64-1.64V13.36H1.36z M1.36,12.64h29.28v-2.28H1.36V12.64z M1.36,9.64h29.28V8c0-0.904-0.735-1.64-1.64-1.64H3 C2.096,6.36,1.36,7.096,1.36,8V9.64z" }), children]
});
});
//#endregion
module.exports = CreditCard;