UNPKG

@carbon/icons-react

Version:

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

31 lines (29 loc) 1.49 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. */ const require_chunk = require('./chunk-CsKB0u1v.js'); const require_Icon_js = require('./Icon.js'); const require_iconPropTypes = require('./iconPropTypes-U9gLABJo.js'); let react = require("react"); react = require_chunk.__toESM(react); let react_jsx_runtime = require("react/jsx-runtime"); //#region virtual:IfAction.js const IfAction = react.default.forwardRef(function IfAction({ children, size = 16, ...rest }, ref) { return react.default.createElement(require_Icon_js, { width: size, height: size, ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", fill: "currentColor", ...rest }, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M21,2h-10C6,2,2,6,2,11v10c0,5,4,9,9,9h10c5,0,9-4,9-9v-10c0-5-4-9-9-9ZM28,21c0,3.9-3.1,7-7,7h-10c-3.9,0-7-3.1-7-7v-10c0-3.9,3.1-7,7-7h10c3.9,0,7,3.1,7,7v10ZM9.8755,22v-1.8232h1.582v-8.3574h-1.582v-1.8223h5.4512v1.8223h-1.5991v8.3574h1.5991v1.8232h-5.4512ZM17.959,14.7363h-1.3242v-1.7363h1.3242v-1.2666c0-1.582.8599-2.459,2.4761-2.459h1.5649v1.7539h-1.8398v1.9717h1.8398v1.7363h-1.8398v7.2637h-2.2012v-7.2637Z" }), children); }); if (process.env.NODE_ENV !== "production") IfAction.propTypes = require_iconPropTypes.iconPropTypes; //#endregion module.exports = IfAction;