@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
45 lines (42 loc) • 1.52 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 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, _path4;
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 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: "M30 10 24 4 22.586 5.414 27.172 10 22.586 14.586 24 16 30 10z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M8.944 9.001H24.974000000000004V11.001H8.944z",
transform: "rotate(-74.995 16.96 10)"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M4 10 10 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 };