UNPKG

@carbon/icons-react

Version:

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

44 lines (40 loc) 1.77 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, _path2; const ActionDefinition = /*#__PURE__*/React.forwardRef(function ActionDefinition({ 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", { strokeWidth: "0", d: "M17.98 17.4922c0-2.8734 1.4971-4.68 4.1466-4.68 1.8067 0 2.9939.8603 3.5272 2.2712l-1.8067.8087c-.2065-.7571-.7743-1.3076-1.7206-1.3076-1.2215 0-1.841.8602-1.841 2.1162v1.6345c0 1.2561.6194 2.0992 1.841 2.0992 1.0496 0 1.5657-.6023 1.8927-1.411l1.686.8087c-.5849 1.5829-1.841 2.3744-3.5788 2.3744-2.6496 0-4.1466-1.8238-4.1466-4.7144zM14.623 22.0001l-.9635-3.0626h-4.267l-.9465 3.0626h-2.3055l4.026-12.0096h2.8217l3.9917 12.0096h-2.357zm-3.0627-9.9449h-.0861l-1.5311 4.9381h3.1659l-1.5486-4.9381z" })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", { strokeWidth: "0", d: "m28,30H4c-1.1046,0-2-.8954-2-2V4c0-1.1046.8954-2,2-2h24c1.1046,0,2,.8954,2,2v24c0,1.1046-.8954,2-2,2Zm-24-2h24V4H4v24Z" })), children); }); if (process.env.NODE_ENV !== "production") { ActionDefinition.propTypes = iconPropTypes.iconPropTypes; } module.exports = ActionDefinition;