@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
32 lines (30 loc) • 1.21 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:PortUsage.js
const PortUsage = React.forwardRef(function PortUsage({ 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: "m21,7h-2v-3.3999c0-.8999-.7002-1.6001-1.6001-1.6001H4v2h13v3h-2c-3.3,0-6,2.7002-6,6v6c0,3.2998,2.7,6,6,6h2v3H4v2h13.3999c.8999,0,1.6001-.7002,1.6001-1.6001v-3.3999h2c3.3,0,6-2.7002,6-6v-6c0-3.2998-2.7-6-6-6Zm4,12c0,2.2002-1.8,4-4,4h-6c-2.2,0-4-1.7998-4-4v-6c0-2.2002,1.8-4,4-4h6c2.2,0,4,1.7998,4,4v6Z"
}), children);
});
if (process.env.NODE_ENV !== "production") PortUsage.propTypes = iconPropTypes;
//#endregion
export { PortUsage as default };