UNPKG

@carbon/icons-react

Version:

React components for icons in digital and software products using the Carbon Design System

29 lines (28 loc) 1.38 kB
/** * 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:WarningDiamondFill.js const WarningDiamondFill = /* @__PURE__ */ react.default.forwardRef(function WarningDiamondFill({ 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", { d: "M14.5858,2.6042L2.6042,14.5858c-.781.781-.781,2.0474,0,2.8284l11.9816,11.9816c.781.781,2.0474.781,2.8284,0l11.9816-11.9816c.781-.781.781-2.0474,0-2.8284L17.4142,2.6042c-.781-.781-2.0474-.781-2.8284,0ZM15,9h2v9h-2v-9ZM16,23c-.83,0-1.5-.67-1.5-1.5s.67-1.5,1.5-1.5,1.5.67,1.5,1.5-.67,1.5-1.5,1.5Z" }), children); }); if (process.env.NODE_ENV !== "production") WarningDiamondFill.propTypes = require_iconPropTypes.iconPropTypes; //#endregion module.exports = WarningDiamondFill;