UNPKG

@carbon/icons-react

Version:

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

45 lines (42 loc) 1.61 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. */ 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, _path2, _path3; const Constraint = /*#__PURE__*/React.forwardRef(function Constraint({ 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", { strokeWidth: "0", d: "m27,13V5s-4,0-4,0v-2h4c1.1028,0,2,.8975,2,2v8c0,1.5234.8799,2,2,2v2c-1.1201,0-2,.4502-2,2v8c0,1.1025-.8972,2-2,2h-4v-2h4s0-8,0-8c0-1.6841.8799-2.5645,2-2.8584v-.2676c-1.1201-.2939-2-1.1899-2-2.874Z" })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", { strokeWidth: "0", d: "M12 12H20V20H12z" })), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", { strokeWidth: "0", d: "m5,13V5h4v-2h-4c-1.1028,0-2,.8975-2,2v8c0,1.5234-.8799,2-2,2v2c1.1201,0,2,.4502,2,2v8c0,1.1025.8972,2,2,2h4v-2h-4v-8c0-1.6841-.8799-2.5645-2-2.8584v-.2676c1.1201-.2939,2-1.1899,2-2.874Z" })), children); }); if (process.env.NODE_ENV !== "production") { Constraint.propTypes = iconPropTypes; } export { Constraint as default };