@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
38 lines (37 loc) • 1.69 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:Critical.js
const Critical = /* @__PURE__ */ react.default.forwardRef(function Critical({ children, size = 16, ...rest }, ref) {
if (size === "glyph" || size === "glyph" || size === "glyphpx") return react.default.createElement(require_Icon.Icon, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 16 16",
fill: "currentColor",
...rest
}, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12.887,11.4727a5.9936,5.9936,0,0,0-8.36-8.3594Z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M3.113,4.5273a5.9936,5.9936,0,0,0,8.36,8.3594Z" }), children);
return react.default.createElement(require_Icon.Icon, {
width: size,
height: size,
ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 16 16",
fill: "currentColor",
...rest
}, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12.887,11.4727a5.9936,5.9936,0,0,0-8.36-8.3594Z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M3.113,4.5273a5.9936,5.9936,0,0,0,8.36,8.3594Z" }), children);
});
if (process.env.NODE_ENV !== "production") Critical.propTypes = require_iconPropTypes.iconPropTypes;
//#endregion
module.exports = Critical;