@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
37 lines (35 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:NotificationCounter.js
const NotificationCounter = React.forwardRef(function NotificationCounter({ 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,12v15H5V5h15v-2H5c-1.1046,0-2,.8954-2,2v22c0,1.1046.8954,2,2,2h22c1.1046,0,2-.8954,2-2v-15h-2Z"
}), /* @__PURE__ */ jsx("circle", {
cx: "26.5",
cy: "5.5",
r: "3.5",
strokeWidth: "0"
}), children);
});
if (process.env.NODE_ENV !== "production") NotificationCounter.propTypes = iconPropTypes;
//#endregion
export { NotificationCounter as default };