UNPKG

@carbon/icons-react

Version:

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

29 lines (27 loc) 1.57 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. */ 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:WarningDiamond.js const WarningDiamond = React.forwardRef(function WarningDiamond({ 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", { 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__ */ jsx("path", { d: "M15 9H17V18H15z" }), /* @__PURE__ */ 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 = iconPropTypes; //#endregion export { WarningDiamond as default };