@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
48 lines (44 loc) • 1.92 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.
*/
;
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;
const JsonReference = /*#__PURE__*/React.forwardRef(function JsonReference({
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: "M4 20 4 22 8.586 22 2 28.586 3.414 30 10 23.414 10 28 12 28 12 20 4 20z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M29 12 27 6 25 6 25 16 27 16 27 10 29 16 31 16 31 6 29 6 29 12z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M21.3335,6h-2.667A1.6683,1.6683,0,0,0,17,7.6665v6.667A1.6684,1.6684,0,0,0,18.6665,16h2.667A1.6683,1.6683,0,0,0,23,14.3335V7.6665A1.6683,1.6683,0,0,0,21.3335,6ZM21,14H19V8h2Z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M9,7.6665V10a2.002,2.002,0,0,0,2,2h2v2H9v2h4.3335A1.6683,1.6683,0,0,0,15,14.3335V12a2.002,2.002,0,0,0-2-2H11V8h4V6H10.6665A1.6683,1.6683,0,0,0,9,7.6665Z"
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
d: "M5,14H3V12H1v2.3335A1.6684,1.6684,0,0,0,2.6665,16h2.667A1.6683,1.6683,0,0,0,7,14.3335V6H5Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
JsonReference.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = JsonReference;