@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
69 lines (65 loc) • 2.79 kB
JavaScript
/**
* Copyright IBM Corp. 2016, 2023
*
* 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 React = require('react');
var Icon_js = require('./Icon.js');
var iconPropTypes = require('./iconPropTypes-BoFFIf2P.js');
require('@carbon/icon-helpers');
require('prop-types');
var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path0;
const Fade = /*#__PURE__*/React.forwardRef(function Fade({
children,
size = 16,
...rest
}, ref) {
if (size === 16 || size === "16" || size === "16px") {
return /*#__PURE__*/React.createElement(Icon_js, {
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: "M4.1,12.6l-0.6,0.8c0.6,0.5,1.3,0.9,2.1,1.2l0.3-0.9C5.3,13.4,4.7,13,4.1,12.6z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M2.1,9l-1,0.2c0.1,0.8,0.4,1.6,0.8,2.3L2.8,11C2.4,10.4,2.2,9.7,2.1,9z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M5.9,2.4L5.6,1.4C4.8,1.7,4.1,2.1,3.5,2.7l0.6,0.8C4.7,3,5.3,2.6,5.9,2.4z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M2.8,5L1.9,4.5C1.5,5.2,1.3,6,1.1,6.8l1,0.2C2.2,6.3,2.5,5.6,2.8,5z"
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
d: "M8,1v1c3.3,0,6,2.7,6,6s-2.7,6-6,6v1c3.9,0,7-3.1,7-7S11.9,1,8,1z"
})), children);
}
return /*#__PURE__*/React.createElement(Icon_js, {
width: size,
height: size,
ref: ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
d: "M8.24,25.14,7,26.67a13.79,13.79,0,0,0,4.18,2.44l.69-1.87A12,12,0,0,1,8.24,25.14Z"
})), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
d: "M4.19,18l-2,.41A14.09,14.09,0,0,0,3.86,23L5.59,22A12.44,12.44,0,0,1,4.19,18Z"
})), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
d: "M11.82,4.76l-.69-1.87A13.79,13.79,0,0,0,7,5.33L8.24,6.86A12,12,0,0,1,11.82,4.76Z"
})), _path9 || (_path9 = /*#__PURE__*/React.createElement("path", {
d: "M5.59,10,3.86,9a14.37,14.37,0,0,0-1.64,4.59l2,.34A12.05,12.05,0,0,1,5.59,10Z"
})), _path0 || (_path0 = /*#__PURE__*/React.createElement("path", {
d: "M16,2V4a12,12,0,0,1,0,24v2A14,14,0,0,0,16,2Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
Fade.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = Fade;