@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
37 lines (36 loc) • 1.33 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.
*/
const require_Icon = require("./Icon-2zUDcllO.js");
const require_iconPropTypes = require("./iconPropTypes-DaTOKOBs.js");
let react = require("react");
react = require_Icon.__toESM(react);
let react_jsx_runtime = require("react/jsx-runtime");
//#region virtual:NotificationCounter.js
const NotificationCounter = /* @__PURE__ */ react.default.forwardRef(function NotificationCounter({ children, size = 16, ...rest }, ref) {
return react.default.createElement(require_Icon.Icon, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, /* @__PURE__ */ (0, react_jsx_runtime.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__ */ (0, react_jsx_runtime.jsx)("circle", {
cx: "26.5",
cy: "5.5",
r: "3.5",
strokeWidth: "0"
}), children);
});
if (process.env.NODE_ENV !== "production") NotificationCounter.propTypes = require_iconPropTypes.iconPropTypes;
//#endregion
module.exports = NotificationCounter;