@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
29 lines (27 loc) • 1.16 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:ChildNode.js
const ChildNode = React.forwardRef(function ChildNode({ 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", { d: "M23,20c-2.41,0-4.43,1.72-4.9,4h-4.1c-2.21,0-4-1.79-4-4v-8.1c2.28-.46,4-2.48,4-4.9,0-2.76-2.24-5-5-5s-5,2.24-5,5c0,2.41,1.72,4.43,4,4.9v8.1c0,3.31,2.69,6,6,6h4.1c.46,2.28,2.48,4,4.9,4,2.76,0,5-2.24,5-5s-2.24-5-5-5ZM6,7c0-1.65,1.35-3,3-3s3,1.35,3,3-1.35,3-3,3-3-1.35-3-3Z" }), children);
});
if (process.env.NODE_ENV !== "production") ChildNode.propTypes = iconPropTypes;
//#endregion
export { ChildNode as default };