@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
38 lines (36 loc) • 1.44 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 Icon from "./Icon.js";
import { t as iconPropTypes } from "./iconPropTypes-B1cP964Y.js";
import React from "react";
import { jsx } from "react/jsx-runtime";
//#region virtual:Constraint.js
const Constraint = React.forwardRef(function Constraint({ children, size = 16, ...rest }, ref) {
return React.createElement(Icon, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, /* @__PURE__ */ jsx("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"
}), /* @__PURE__ */ jsx("path", {
strokeWidth: "0",
d: "M12 12H20V20H12z"
}), /* @__PURE__ */ jsx("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;
//#endregion
export { Constraint as default };