UNPKG

@carbon/icons-react

Version:

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

40 lines (38 loc) 2.17 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_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:WarningAlt.js const WarningAlt = react.default.forwardRef(function WarningAlt({ children, size = 16, ...rest }, ref) { if (size === 16 || size === "16" || size === "16px") return react.default.createElement(require_Icon_js, { 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: "M14.5,14h-13c-0.2,0-0.3-0.1-0.4-0.2c-0.1-0.2-0.1-0.3,0-0.5l6.5-12C7.7,1,8,0.9,8.2,1.1c0.1,0,0.2,0.1,0.2,0.2l6.5,12 c0.1,0.2,0.1,0.3,0,0.5C14.9,13.9,14.7,14,14.5,14z M2.3,13h11.3L8,2.5L2.3,13z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M7.5 6H8.5V9.5H7.5z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M8,10.8c-0.4,0-0.8,0.3-0.8,0.8s0.3,0.8,0.8,0.8c0.4,0,0.8-0.3,0.8-0.8S8.4,10.8,8,10.8z" }), children); 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,23a1.5,1.5,0,1,0,1.5,1.5A1.5,1.5,0,0,0,16,23Z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M15 12H17V21H15z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z" }), children); }); if (process.env.NODE_ENV !== "production") WarningAlt.propTypes = require_iconPropTypes.iconPropTypes; //#endregion module.exports = WarningAlt;