@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
42 lines (39 loc) • 1.97 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.
*/
import React from 'react';
import Icon from './Icon.js';
import { i as iconPropTypes } from './iconPropTypes-C5chbmyn.js';
import '@carbon/icon-helpers';
import 'prop-types';
var _path, _path2;
const PartDefinition = /*#__PURE__*/React.forwardRef(function PartDefinition({
children,
size = 16,
...rest
}, ref) {
return /*#__PURE__*/React.createElement(Icon, {
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", {
strokeWidth: "0",
d: "M20.8336 16.8081c-2.4408 0-3.8336.9114-3.8336 2.7507 0 1.5986 1.0315 2.6477 2.854 2.6477 1.3408 0 2.321-.6019 2.613-1.7539h.1034c.1371.9285.7216 1.5474 1.6675 1.5474h1.2203v-1.7534h-.8938v-4.2292c0-2.0459-1.2891-3.1979-3.7133-3.1979-1.8052 0-2.8539.6879-3.5073 1.7194l1.3068 1.1689c.4296-.6189 1.0144-1.1344 2.0454-1.1344 1.1694 0 1.668.5844 1.668 1.5817v.6531h-1.5304zm1.5304 2.51c0 .8425-.7908 1.2893-1.7705 1.2893-.8601 0-1.3586-.3608-1.3586-1.0833v-.292c0-.7048.5679-1.1002 1.7194-1.1002h1.4098v1.1862zM9.272 17.427h3.1287c2.218 0 3.5588-1.4785 3.5588-3.7133 0-2.2181-1.3408-3.7137-3.5588-3.7137h-5.3981v12h2.2694v-4.573zm0-5.4501h2.9225c.8767 0 1.4098.4642 1.4098 1.3414v.7908c0 .8767-.5331 1.358-1.4098 1.358h-2.9225v-3.4902z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
strokeWidth: "0",
d: "m2,4v24c0,1.1046.8954,2,2,2h24c1.1046,0,2-.8954,2-2V4c0-1.1046-.8954-2-2-2H4c-1.1046,0-2,.8954-2,2Zm26,24H4V4h24v24Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
PartDefinition.propTypes = iconPropTypes;
}
export { PartDefinition as default };