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.
		
		
		
		
		
			
		
			
				
					56 lines
				
				2.6 KiB
			
		
		
			
		
	
	
					56 lines
				
				2.6 KiB
			| 
											3 years ago
										 | /** | ||
|  |  * 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; | ||
|  | 
 | ||
|  | var _excluded = ["children", "size"]; | ||
|  | var didWarnAboutDeprecation = false; | ||
|  | var DirectLink = /*#__PURE__*/React__default["default"].forwardRef(function DirectLink(_ref, ref) { | ||
|  |   var children = _ref.children, | ||
|  |       _ref$size = _ref.size, | ||
|  |       size = _ref$size === void 0 ? 16 : _ref$size, | ||
|  |       rest = iconPropTypes._objectWithoutProperties(_ref, _excluded); | ||
|  | 
 | ||
|  |   if (process.env.NODE_ENV !== "production") { | ||
|  |     if (!didWarnAboutDeprecation) { | ||
|  |       didWarnAboutDeprecation = true; | ||
|  |       console.warn("The current icon has been replaced with the correct version of the App icon, use the most appropriate ibm-cloud--direct-link icon variant instead. As a result, the DirectLink component will be removed in the next major version of @carbon/icons-react."); | ||
|  |     } | ||
|  |   } | ||
|  | 
 | ||
|  |   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), _path || (_path = /*#__PURE__*/React__default["default"].createElement("path", { | ||
|  |     d: "M20.4131,14.584,12.416,6.5869a2.0016,2.0016,0,0,0-2.832,0L1.5869,14.584a2.0016,2.0016,0,0,0,0,2.832l3.2915,3.2915L3,22.5859,4.4141,24l1.8784-1.8784L9.584,25.4131a2.0016,2.0016,0,0,0,2.832,0l2.2559-2.2559-1.4156-1.4155L10.998,23.999,3.001,16.002l7.997-8.001,8.001,8.001L17.5,17.5l1.4146,1.4146,1.4985-1.4986a2.0016,2.0016,0,0,0,0-2.832Z" | ||
|  |   })), _path2 || (_path2 = /*#__PURE__*/React__default["default"].createElement("path", { | ||
|  |     d: "M30.4131,14.584l-3.2915-3.2915L29,9.4141,27.5859,8,25.7075,9.8784,22.416,6.5869a2.0016,2.0016,0,0,0-2.832,0L17.3281,8.8428l1.4146,1.4145L20.998,8.001l8.001,8.001-8.001,7.997-7.997-7.997,1.5-1.501-1.4156-1.4156L11.5869,14.584a2.0016,2.0016,0,0,0,0,2.832l7.9971,7.9971a2.0016,2.0016,0,0,0,2.832,0l7.9971-7.9971a2.0016,2.0016,0,0,0,0-2.832Z" | ||
|  |   })), children); | ||
|  | }); | ||
|  | 
 | ||
|  | if (process.env.NODE_ENV !== "production") { | ||
|  |   DirectLink.propTypes = iconPropTypes.iconPropTypes; | ||
|  | } | ||
|  | 
 | ||
|  | module.exports = DirectLink; |