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.
63 lines
3.2 KiB
63 lines
3.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.
|
|
*/
|
|
'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;
|
|
|
|
var _excluded = ["children", "size"];
|
|
var ViewOff = /*#__PURE__*/React__default["default"].forwardRef(function ViewOff(_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: "M2.6,11.3l0.7-0.7C2.6,9.8,1.9,9,1.5,8c1-2.5,3.8-4.5,6.5-4.5c0.7,0,1.4,0.1,2,0.4l0.8-0.8C9.9,2.7,9,2.5,8,2.5 C4.7,2.6,1.7,4.7,0.5,7.8c0,0.1,0,0.2,0,0.3C1,9.3,1.7,10.4,2.6,11.3z"
|
|
})), _path2 || (_path2 = /*#__PURE__*/React__default["default"].createElement("path", {
|
|
d: "M6 7.9c.1-1 .9-1.8 1.8-1.8l.9-.9C7.2 4.7 5.5 5.6 5.1 7.2 5 7.7 5 8.3 5.1 8.8L6 7.9zM15.5 7.8c-.6-1.5-1.6-2.8-2.9-3.7L15 1.7 14.3 1 1 14.3 1.7 15l2.6-2.6c1.1.7 2.4 1 3.7 1.1 3.3-.1 6.3-2.2 7.5-5.3C15.5 8.1 15.5 7.9 15.5 7.8zM10 8c0 1.1-.9 2-2 2-.3 0-.7-.1-1-.3L9.7 7C9.9 7.3 10 7.6 10 8zM8 12.5c-1 0-2.1-.3-3-.8l1.3-1.3c1.4.9 3.2.6 4.2-.8.7-1 .7-2.4 0-3.4l1.4-1.4c1.1.8 2 1.9 2.6 3.2C13.4 10.5 10.6 12.5 8 12.5z"
|
|
})), 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: "M5.24,22.51l1.43-1.42A14.06,14.06,0,0,1,3.07,16C5.1,10.93,10.7,7,16,7a12.38,12.38,0,0,1,4,.72l1.55-1.56A14.72,14.72,0,0,0,16,5,16.69,16.69,0,0,0,1.06,15.66a1,1,0,0,0,0,.68A16,16,0,0,0,5.24,22.51Z"
|
|
})), _path4 || (_path4 = /*#__PURE__*/React__default["default"].createElement("path", {
|
|
d: "M12 15.73a4 4 0 013.7-3.7l1.81-1.82a6 6 0 00-7.33 7.33zM30.94 15.66A16.4 16.4 0 0025.2 8.22L30 3.41 28.59 2 2 28.59 3.41 30l5.1-5.1A15.29 15.29 0 0016 27 16.69 16.69 0 0030.94 16.34 1 1 0 0030.94 15.66zM20 16a4 4 0 01-6 3.44L19.44 14A4 4 0 0120 16zm-4 9a13.05 13.05 0 01-6-1.58l2.54-2.54a6 6 0 008.35-8.35l2.87-2.87A14.54 14.54 0 0128.93 16C26.9 21.07 21.3 25 16 25z"
|
|
})), children);
|
|
});
|
|
|
|
if (process.env.NODE_ENV !== "production") {
|
|
ViewOff.propTypes = iconPropTypes.iconPropTypes;
|
|
}
|
|
|
|
module.exports = ViewOff;
|