@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
40 lines (38 loc) • 1.98 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.
*/
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:NewTab.js
const NewTab = react.default.forwardRef(function NewTab({ 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: "M13,13H3V3h5V2H3C2.4,2,2,2.4,2,3v10c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1V8h-1V13z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M13 3 13 1 12 1 12 3 10 3 10 4 12 4 12 6 13 6 13 4 15 4 15 3z" }), 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: "M26,26H6V6H16V4H6A2.002,2.002,0,0,0,4,6V26a2.002,2.002,0,0,0,2,2H26a2.002,2.002,0,0,0,2-2V16H26Z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M26,26H6V6H16V4H6A2.002,2.002,0,0,0,4,6V26a2.002,2.002,0,0,0,2,2H26a2.002,2.002,0,0,0,2-2V16H26Z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M26 6 26 2 24 2 24 6 20 6 20 8 24 8 24 12 26 12 26 8 30 8 30 6 26 6z" }), children);
});
if (process.env.NODE_ENV !== "production") NewTab.propTypes = require_iconPropTypes.iconPropTypes;
//#endregion
module.exports = NewTab;