@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
31 lines (29 loc) • 1.81 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_chunk = require('./chunk-CsKB0u1v.js');
const require_Icon_js = require('./Icon.js');
const require_iconPropTypes = require('./iconPropTypes-U9gLABJo.js');
let react = require("react");
react = require_chunk.__toESM(react);
let react_jsx_runtime = require("react/jsx-runtime");
//#region virtual:WarningDiamond.js
const WarningDiamond = react.default.forwardRef(function WarningDiamond({ children, size = 16, ...rest }, ref) {
return react.default.createElement(require_Icon_js, {
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: "m16,20c-.8284,0-1.5.6716-1.5,1.5s.6716,1.5,1.5,1.5,1.5-.6716,1.5-1.5-.6716-1.5-1.5-1.5h0Z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M15 9H17V18H15z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m16,30c-.5335,0-1.0672-.2031-1.4732-.6094L2.6094,17.4732c-.8126-.8123-.8126-2.1342,0-2.9465L14.5268,2.6094c.8121-.8126,2.1344-.8126,2.9465,0l11.9173,11.9173c.8126.8123.8126,2.1342,0,2.9465l-11.9173,11.9173c-.406.4063-.9398.6094-1.4732.6094Zm0-26.0008c-.0215,0-.0427.0083-.0591.0244L4.0236,15.9409c-.0325.0327-.0325.0855,0,.1182l11.9173,11.9173c.0327.0322.0855.0322.1182,0l11.9173-11.9173c.0325-.0327.0325-.0855,0-.1182l-11.9173-11.9173c-.0164-.0161-.0376-.0244-.0591-.0244Z" }), children);
});
if (process.env.NODE_ENV !== "production") WarningDiamond.propTypes = require_iconPropTypes.iconPropTypes;
//#endregion
module.exports = WarningDiamond;