@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
29 lines (27 loc) • 1.3 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 Icon from "./Icon.js";
import { t as iconPropTypes } from "./iconPropTypes-B1cP964Y.js";
import React from "react";
import { jsx } from "react/jsx-runtime";
//#region virtual:CopyToClipboard.js
const CopyToClipboard = React.forwardRef(function CopyToClipboard({ children, size = 16, ...rest }, ref) {
return React.createElement(Icon, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, /* @__PURE__ */ jsx("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;
//#endregion
export { CopyToClipboard as default };