@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
40 lines (36 loc) • 1.59 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;
const AttributeUsage = /*#__PURE__*/React.forwardRef(function AttributeUsage({
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: "M21,2h-10C6.0374,2,2,6.0374,2,11v10c0,4.9626,4.0374,9,9,9h10c4.9626,0,9-4.0374,9-9v-10c0-4.9626-4.0374-9-9-9ZM28,21c0,3.8599-3.1401,7-7,7h-10c-3.8599,0-7-3.1401-7-7v-10c0-3.8599,3.1401-7,7-7h10c3.8599,0,7,3.1401,7,7v10ZM15.4775,22.0015l-.9629-3.0605h-4.2646l-.9458,3.0605h-2.3042l4.0239-12.0029h2.8203l3.9893,12.0029h-2.356ZM12.417,12.062h-.0864l-1.5303,4.9355h3.1641l-1.5474-4.9355ZM19.0864,19.7129v-4.959h-1.3242v-1.7539h.688c.6538,0,.8599-.311.8599-.9302v-1.5054h1.9775v2.4355h1.8403v1.7539h-1.8403v5.4922h1.7026v1.7539h-1.582c-1.5132,0-2.3218-.8252-2.3218-2.2871Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
AttributeUsage.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = AttributeUsage;