@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
70 lines (66 loc) • 2.65 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.
*/
'use strict';
var React = require('react');
var Icon_js = require('./Icon.js');
var iconPropTypes = require('./iconPropTypes-BoFFIf2P.js');
require('@carbon/icon-helpers');
require('prop-types');
var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path0, _path1, _path10, _path11, _path12;
const QrCode = /*#__PURE__*/React.forwardRef(function QrCode({
children,
size = 16,
...rest
}, ref) {
return /*#__PURE__*/React.createElement(Icon_js, {
width: size,
height: size,
ref: ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, _path || (_path = /*#__PURE__*/React.createElement("path", {
d: "M24 26H26V28H24z",
transform: "rotate(-90 25 27)"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M18 22H20V24H18z",
transform: "rotate(-90 19 23)"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M18 30 22 30 22 28 20 28 20 26 18 26 18 30z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M25 23H29V25H25z",
transform: "rotate(-90 27 24)"
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
d: "M28 26 30 26 30 30 26 30 26 28 28 28 28 26z"
})), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
d: "M26 20 26 18 30 18 30 22 28 22 28 20 26 20z"
})), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
d: "M24 20 22 20 22 24 20 24 20 26 24 26 24 20z"
})), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
d: "M19 17H21V21H19z",
transform: "rotate(-90 20 19)"
})), _path9 || (_path9 = /*#__PURE__*/React.createElement("path", {
d: "M6 22H10V26H6z"
})), _path0 || (_path0 = /*#__PURE__*/React.createElement("path", {
d: "M14,30H2V18H14ZM4,28h8V20H4Z"
})), _path1 || (_path1 = /*#__PURE__*/React.createElement("path", {
d: "M22 6H26V10H22z"
})), _path10 || (_path10 = /*#__PURE__*/React.createElement("path", {
d: "M30,14H18V2H30ZM20,12h8V4H20Z"
})), _path11 || (_path11 = /*#__PURE__*/React.createElement("path", {
d: "M6 6H10V10H6z"
})), _path12 || (_path12 = /*#__PURE__*/React.createElement("path", {
d: "M14,14H2V2H14ZM4,12h8V4H4Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
QrCode.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = QrCode;