@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
47 lines (43 loc) • 1.61 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.
*/
;
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;
const CharacterFraction = /*#__PURE__*/React.forwardRef(function CharacterFraction({
children,
size = 16,
...rest
}, ref) {
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
}, _path || (_path = /*#__PURE__*/React.createElement("path", {
d: "M28,30H20V24a2.002,2.002,0,0,1,2-2h4V18H20V16h6a2.0023,2.0023,0,0,1,2,2v4a2.0023,2.0023,0,0,1-2,2H22v4h6Z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M4.479 15.5H26.521V17.5H4.479z",
transform: "rotate(-45 15.5 16.5)"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M4.5 15.5L4.5 14.5 7.5 14.5 7.5 3.5 4.5 3.5 4.5 2.5 8.5 2.5 8.5 14.5 11.5 14.5 11.5 15.5 4.5 15.5z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M8,3V15H8V3M9,2H4V4H7V14H4v2h8V14H9V2Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
CharacterFraction.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = CharacterFraction;