@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
28 lines (27 loc) • 1.25 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-BElKp6Sn.js";
import React from "react";
import { jsx } from "react/jsx-runtime";
//#region virtual:FileX.js
const FileX = /* @__PURE__ */ React.forwardRef(function FileX({ 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: "M18,30h-10c-1.103,0-2-.8975-2-2V4c0-1.103.897-2,2-2h10c.2656,0,.5195.1055.707.293l7,7c.1875.1875.293.4419.293.707v8h-2v-6h-6c-1.103,0-2-.897-2-2v-6h-8v24h10v2ZM18,4.4141v5.5859h5.5859l-5.5859-5.5859ZM28.293,29.707l-3.293-3.293-3.293,3.293-1.4141-1.4141,3.293-3.293-3.293-3.293,1.4141-1.4141,3.293,3.293,3.293-3.293,1.4141,1.4141-3.293,3.293,3.293,3.293-1.4141,1.4141Z" }), children);
});
if (process.env.NODE_ENV !== "production") FileX.propTypes = iconPropTypes;
//#endregion
export { FileX as default };