UNPKG

@carbon/icons-react

Version:

React components for icons in digital and software products using the Carbon Design System

40 lines (36 loc) 1.51 kB
/** * 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; const AttributeDefinition = /*#__PURE__*/React.forwardRef(function AttributeDefinition({ 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,2H4c-1.1046,0-2,.8954-2,2v24c0,1.1046.8954,2,2,2h24c1.1046,0,2-.8954,2-2V4c0-1.1046-.8954-2-2-2ZM28,28H4V4h24v24ZM16.3496,22.0015l-.9629-3.0605h-4.2646l-.9458,3.0605h-2.3042l4.0239-12.0029h2.8203l3.9893,12.0029h-2.356ZM13.2891,12.062h-.0864l-1.5303,4.9355h3.1641l-1.5474-4.9355ZM19.9585,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") { AttributeDefinition.propTypes = iconPropTypes.iconPropTypes; } module.exports = AttributeDefinition;