UNPKG

@carbon/icons-react

Version:

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

45 lines (41 loc) 1.89 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. */ 'use strict'; var React = require('react'); var Icon_js = require('./Icon.js'); var iconPropTypes = require('./iconPropTypes-BoFFIf2P.js'); require('@carbon/icon-helpers'); require('prop-types'); var _path, _path2, _path3; const TrafficIncident = /*#__PURE__*/React.forwardRef(function TrafficIncident({ children, size = 16, ...rest }, ref) { return /*#__PURE__*/React.createElement(Icon_js, { width: size, height: size, ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", fill: "currentColor", ...rest }, _path || (_path = /*#__PURE__*/React.createElement("path", { d: "M2 28H30V30H2z" })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", { d: "M11.314 11.514H17.314V13.514H11.314z", transform: "rotate(-45 14.314 12.514)" })), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", { d: "M12.0815,23.4329l4.1168,2.3176a2.009,2.009,0,0,0,2.3853-.3344l8.8326-8.8326a2.0088,2.0088,0,0,0,.334-2.3856l-2.2977-4.136,1.79-1.79L25.8283,6.8577,24.4141,8.2719l-4.95-4.95a2.0026,2.0026,0,0,0-2.8285,0L14.5146,1.2008,13.1,2.615l2.1213,2.1214L6.7364,13.2216,4.6151,11.1,3.2009,12.5145l2.1213,2.1213a2.0025,2.0025,0,0,0,0,2.8285l4.95,4.95L8.8577,23.8282l1.4143,1.4142Zm13.92-8.2636-8.8328,8.8328-4.5456-2.5255L23.4767,10.6235ZM9.5649,18.8785l1.4142-1.4142L9.5649,16.05,8.1506,17.4643,6.7364,16.05,18.05,4.7364l1.4143,1.4142L18.05,7.5648,19.4644,8.979l1.4142-1.4142L22.2928,8.979,10.9791,20.2927Z" })), children); }); if (process.env.NODE_ENV !== "production") { TrafficIncident.propTypes = iconPropTypes.iconPropTypes; } module.exports = TrafficIncident;