UNPKG

@carbon/icons-react

Version:

React components for icons in digital and software products using the Carbon Design System

40 lines (38 loc) 1.75 kB
/** * 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. */ const require_chunk = require('./chunk-CsKB0u1v.js'); const require_Icon_js = require('./Icon.js'); const require_iconPropTypes = require('./iconPropTypes-U9gLABJo.js'); let react = require("react"); react = require_chunk.__toESM(react); let react_jsx_runtime = require("react/jsx-runtime"); //#region virtual:Upload.js const Upload = react.default.forwardRef(function Upload({ children, size = 16, ...rest }, ref) { if (size === 16 || size === "16" || size === "16px") return react.default.createElement(require_Icon_js, { width: size, height: size, ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", fill: "currentColor", ...rest }, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M3 9 3.7 9.7 7.5 5.9 7.5 15 8.5 15 8.5 5.9 12.3 9.7 13 9 8 4z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M3,4V2h10v2h1V2c0-0.6-0.4-1-1-1H3C2.4,1,2,1.4,2,2v2H3z" }), children); return react.default.createElement(require_Icon_js, { width: size, height: size, ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", fill: "currentColor", ...rest }, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M6 18 7.41 19.41 15 11.83 15 30 17 30 17 11.83 24.59 19.41 26 18 16 8 6 18z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M6,8V4H26V8h2V4a2,2,0,0,0-2-2H6A2,2,0,0,0,4,4V8Z" }), children); }); if (process.env.NODE_ENV !== "production") Upload.propTypes = require_iconPropTypes.iconPropTypes; //#endregion module.exports = Upload;