UNPKG

@carbon/icons-react

Version:

React components for icons in digital and software products using the Carbon Design System

43 lines (40 loc) 1.44 kB
/** * 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 React from 'react'; import Icon from './Icon.js'; import { i as iconPropTypes } from './iconPropTypes-C5chbmyn.js'; import '@carbon/icon-helpers'; import 'prop-types'; var _path, _path2, _path3; const CodeReference = /*#__PURE__*/React.forwardRef(function CodeReference({ children, size = 16, ...rest }, ref) { return /*#__PURE__*/React.createElement(Icon, { 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 20L4 22 8.586 22 2 28.586 3.414 30 10 23.414 10 28 12 28 12 20 4 20zM30 10L24 4 22.586 5.414 27.172 10 22.586 14.586 24 16 30 10z" })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", { d: "M8.944 9.001H24.974000000000004V11.001H8.944z", transform: "rotate(-74.995 16.96 10)" })), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", { d: "M4 10L10 4 11.414 5.414 6.828 10 11.414 14.586 10 16 4 10z" })), children); }); if (process.env.NODE_ENV !== "production") { CodeReference.propTypes = iconPropTypes; } export { CodeReference as default };