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.
		
		
		
		
		
			
		
			
				
					104 lines
				
				4.5 KiB
			
		
		
			
		
	
	
					104 lines
				
				4.5 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, _path3, _path4, _path5, _path6, _path7, _path8; | ||
|  | 
 | ||
|  | var _excluded = ["children", "size"]; | ||
|  | var Misuse = /*#__PURE__*/React__default["default"].forwardRef(function Misuse(_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: "M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L8,8.8l-2.7,2.7l-0.8-0.8L7.2,8L4.5,5.3l0.8-0.8L8,7.2 l2.7-2.7l0.8,0.8L8.8,8l2.7,2.7L10.7,11.5z" | ||
|  |     })), _path2 || (_path2 = /*#__PURE__*/React__default["default"].createElement("path", { | ||
|  |       d: "M10.7,11.5L8,8.8l-2.7,2.7l-0.8-0.8L7.2,8L4.5,5.3l0.8-0.8L8,7.2l2.7-2.7l0.8,0.8L8.8,8 l2.7,2.7L10.7,11.5z", | ||
|  |       "data-icon-path": "inner-path", | ||
|  |       opacity: "0" | ||
|  |     })), children); | ||
|  |   } | ||
|  | 
 | ||
|  |   if (size === 20 || size === "20" || size === "20px") { | ||
|  |     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 20 20", | ||
|  |       fill: "currentColor" | ||
|  |     }, rest), _path3 || (_path3 = /*#__PURE__*/React__default["default"].createElement("path", { | ||
|  |       d: "M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5L10,11l-3.5,3.5l-1-1L9,10L5.5,6.5l1-1L10,9l3.5-3.5l1,1 L11,10l3.5,3.5L13.5,14.5z" | ||
|  |     })), _path4 || (_path4 = /*#__PURE__*/React__default["default"].createElement("path", { | ||
|  |       fill: "none", | ||
|  |       d: "M13.5,14.5L10,11l-3.5,3.5l-1-1L9,10L5.5,6.5l1-1L10,9l3.5-3.5l1,1L11,10l3.5,3.5L13.5,14.5z", | ||
|  |       "data-icon-path": "inner-path", | ||
|  |       opacity: "0" | ||
|  |     })), children); | ||
|  |   } | ||
|  | 
 | ||
|  |   if (size === 24 || size === "24" || size === "24px") { | ||
|  |     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 24 24", | ||
|  |       fill: "currentColor" | ||
|  |     }, rest), _path5 || (_path5 = /*#__PURE__*/React__default["default"].createElement("path", { | ||
|  |       d: "M12,1C6,1,1,6,1,12s5,11,11,11s11-4.9,11-11S18.1,1,12,1z M16.2,17.5L12,13.3l-4.2,4.2l-1.3-1.3l4.2-4.2L6.5,7.8l1.3-1.3 l4.2,4.2l4.2-4.2l1.3,1.3L13.3,12l4.2,4.2L16.2,17.5z" | ||
|  |     })), _path6 || (_path6 = /*#__PURE__*/React__default["default"].createElement("path", { | ||
|  |       fill: "none", | ||
|  |       d: "M16.2,17.5L12,13.3l-4.2,4.2l-1.3-1.3l4.2-4.2L6.5,7.8l1.3-1.3l4.2,4.2l4.2-4.2l1.3,1.3 L13.3,12l4.2,4.2L16.2,17.5z", | ||
|  |       "data-icon-path": "inner-path", | ||
|  |       opacity: "0" | ||
|  |     })), 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), _path7 || (_path7 = /*#__PURE__*/React__default["default"].createElement("path", { | ||
|  |     d: "M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14S23.7,2,16,2z M21.4,23L16,17.6L10.6,23L9,21.4l5.4-5.4L9,10.6L10.6,9 l5.4,5.4L21.4,9l1.6,1.6L17.6,16l5.4,5.4L21.4,23z" | ||
|  |   })), _path8 || (_path8 = /*#__PURE__*/React__default["default"].createElement("path", { | ||
|  |     fill: "none", | ||
|  |     d: "M21.4,23L16,17.6L10.6,23L9,21.4l5.4-5.4L9,10.6L10.6,9l5.4,5.4L21.4,9l1.6,1.6L17.6,16 l5.4,5.4L21.4,23z", | ||
|  |     "data-icon-path": "inner-path", | ||
|  |     opacity: "0" | ||
|  |   })), children); | ||
|  | }); | ||
|  | 
 | ||
|  | if (process.env.NODE_ENV !== "production") { | ||
|  |   Misuse.propTypes = iconPropTypes.iconPropTypes; | ||
|  | } | ||
|  | 
 | ||
|  | module.exports = Misuse; |