@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
38 lines (35 loc) • 1.37 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;
const IfAction = /*#__PURE__*/React.forwardRef(function IfAction({
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", {
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 = iconPropTypes;
}
export { IfAction as default };