You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
2.2 KiB
59 lines
2.2 KiB
/**
|
|
* 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.
|
|
*/
|
|
import { i as iconPropTypes, _ as _objectWithoutProperties, I as Icon, a as _objectSpread2 } from './iconPropTypes-44033017.js';
|
|
import React from 'react';
|
|
import '@carbon/icon-helpers';
|
|
import 'prop-types';
|
|
|
|
var _path, _path2, _path3, _path4, _path5;
|
|
|
|
var _excluded = ["children", "size"];
|
|
var NewTab = /*#__PURE__*/React.forwardRef(function NewTab(_ref, ref) {
|
|
var children = _ref.children,
|
|
_ref$size = _ref.size,
|
|
size = _ref$size === void 0 ? 16 : _ref$size,
|
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
|
|
if (size === 16 || size === "16" || size === "16px") {
|
|
return /*#__PURE__*/React.createElement(Icon, _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.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.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.createElement(Icon, _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.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.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.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;
|
|
}
|
|
|
|
export { NewTab as default };
|