/** * Copyright IBM Corp. 2016, 2021 * * 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. */ 'use strict'; var iconPropTypes = require('./iconPropTypes-bd86aa8e.js'); var React = require('react'); require('@carbon/icon-helpers'); require('prop-types'); function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var React__default = /*#__PURE__*/_interopDefaultLegacy(React); var _path, _path2, _path3, _path4, _path5; var _excluded = ["children", "size"]; var NewTab = /*#__PURE__*/React__default["default"].forwardRef(function NewTab(_ref, ref) { var children = _ref.children, _ref$size = _ref.size, size = _ref$size === void 0 ? 16 : _ref$size, rest = iconPropTypes._objectWithoutProperties(_ref, _excluded); if (size === 16 || size === "16" || size === "16px") { return /*#__PURE__*/React__default["default"].createElement(iconPropTypes.Icon, iconPropTypes._objectSpread2({ width: size, height: size, ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", fill: "currentColor" }, rest), _path || (_path = /*#__PURE__*/React__default["default"].createElement("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" })), _path2 || (_path2 = /*#__PURE__*/React__default["default"].createElement("path", { d: "M13 3L13 1 12 1 12 3 10 3 10 4 12 4 12 6 13 6 13 4 15 4 15 3z" })), children); } return /*#__PURE__*/React__default["default"].createElement(iconPropTypes.Icon, iconPropTypes._objectSpread2({ width: size, height: size, ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", fill: "currentColor" }, rest), _path3 || (_path3 = /*#__PURE__*/React__default["default"].createElement("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" })), _path4 || (_path4 = /*#__PURE__*/React__default["default"].createElement("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" })), _path5 || (_path5 = /*#__PURE__*/React__default["default"].createElement("path", { d: "M26 6L26 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 = iconPropTypes.iconPropTypes; } module.exports = NewTab;