@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
40 lines (36 loc) • 1.4 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;
const CopyToClipboard = /*#__PURE__*/React.forwardRef(function CopyToClipboard({
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: "M7,7h3v3h12v-3h3v11h2V7c-.0032-1.1033-.8967-1.9968-2-2h-3v-1c-.0032-1.1033-.8967-1.9968-2-2h-8c-1.1033.0032-1.9968.8967-2,2v1h-3c-1.1033.0032-1.9968.8967-2,2v21c.0032,1.1032.8967,1.9968,2,2h9v-2H7V7ZM12,4h8v4h-8v-4ZM30,24h-8.172l2.586-2.586-1.414-1.414-5,5,5,5,1.414-1.414-2.586-2.586h8.172v-2ZM12,13h-2v2h2v-2ZM22,13h-8v2h8v-2ZM12,18h-2v2h2v-2ZM10,25h2v-2h-2v2ZM14,20h4v-2h-4v2Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
CopyToClipboard.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = CopyToClipboard;