@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
40 lines (37 loc) • 1.28 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;
const CopyFile = /*#__PURE__*/React.forwardRef(function CopyFile({
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: "M27.4,14.7l-6.1-6.1C21,8.2,20.5,8,20,8h-8c-1.1,0-2,0.9-2,2v18c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V16.1 C28,15.6,27.8,15.1,27.4,14.7z M20,10l5.9,6H20V10z M12,28V10h6v6c0,1.1,0.9,2,2,2h6l0,10H12z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M6,18H4V4c0-1.1,0.9-2,2-2h14v2H6V18z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
CopyFile.propTypes = iconPropTypes;
}
export { CopyFile as default };