@carbon/pictograms-react
Version:
React components for pictograms in digital and software products using the Carbon Design System
35 lines (34 loc) • 1.36 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.
*/
import Icon from "../Icon.js";
import React from "react";
import { jsx, jsxs } from "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.forwardRef(function CreditCard({ children, ...rest }, ref) {
return /* @__PURE__ */ jsxs(Icon, {
width: 64,
height: 64,
viewBox: "0 0 32 32",
xmlns: "http://www.w3.org/2000/svg",
fill: "currentColor",
ref,
...rest,
children: [/* @__PURE__ */ 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
export { CreditCard as default };