@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
41 lines (39 loc) • 1.9 kB
JavaScript
/**
* Copyright IBM Corp. 2016, 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 { t as iconPropTypes } from "./iconPropTypes-B1cP964Y.js";
import React from "react";
import { jsx } from "react/jsx-runtime";
//#region virtual:QrCode.js
const QrCode = React.forwardRef(function QrCode({ children, size = 16, ...rest }, ref) {
return React.createElement(Icon, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, /* @__PURE__ */ jsx("path", {
d: "M24 26H26V28H24z",
transform: "rotate(-90 25 27)"
}), /* @__PURE__ */ jsx("path", {
d: "M18 22H20V24H18z",
transform: "rotate(-90 19 23)"
}), /* @__PURE__ */ jsx("path", { d: "M18 30 22 30 22 28 20 28 20 26 18 26 18 30z" }), /* @__PURE__ */ jsx("path", {
d: "M25 23H29V25H25z",
transform: "rotate(-90 27 24)"
}), /* @__PURE__ */ jsx("path", { d: "M28 26 30 26 30 30 26 30 26 28 28 28 28 26z" }), /* @__PURE__ */ jsx("path", { d: "M26 20 26 18 30 18 30 22 28 22 28 20 26 20z" }), /* @__PURE__ */ jsx("path", { d: "M24 20 22 20 22 24 20 24 20 26 24 26 24 20z" }), /* @__PURE__ */ jsx("path", {
d: "M19 17H21V21H19z",
transform: "rotate(-90 20 19)"
}), /* @__PURE__ */ jsx("path", { d: "M6 22H10V26H6z" }), /* @__PURE__ */ jsx("path", { d: "M14,30H2V18H14ZM4,28h8V20H4Z" }), /* @__PURE__ */ jsx("path", { d: "M22 6H26V10H22z" }), /* @__PURE__ */ jsx("path", { d: "M30,14H18V2H30ZM20,12h8V4H20Z" }), /* @__PURE__ */ jsx("path", { d: "M6 6H10V10H6z" }), /* @__PURE__ */ jsx("path", { d: "M14,14H2V2H14ZM4,12h8V4H4Z" }), children);
});
if (process.env.NODE_ENV !== "production") QrCode.propTypes = iconPropTypes;
//#endregion
export { QrCode as default };