UNPKG

@carbon/icons-react

Version:

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

44 lines (41 loc) 1.56 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 React from 'react'; import Icon from './Icon.js'; import { i as iconPropTypes } from './iconPropTypes-C5chbmyn.js'; import '@carbon/icon-helpers'; import 'prop-types'; var _circle, _path, _path2; const LocationHazard = /*#__PURE__*/React.forwardRef(function LocationHazard({ children, size = 16, ...rest }, ref) { return /*#__PURE__*/React.createElement(Icon, { width: size, height: size, ref: ref, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", fill: "currentColor", ...rest }, _circle || (_circle = /*#__PURE__*/React.createElement("circle", { cx: "16", cy: "20.5", r: "1.5" })), _path || (_path = /*#__PURE__*/React.createElement("path", { d: "M15 7H17V16H15z" })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", { d: "M16,30,7.5645,20.0513c-.0479-.0571-.3482-.4515-.3482-.4515A10.8888,10.8888,0,0,1,5,13a11,11,0,0,1,22,0,10.8844,10.8844,0,0,1-2.2148,6.5973l-.0015.0025s-.3.3944-.3447.4474ZM8.8125,18.395c.001.0007.2334.3082.2866.3744L16,26.9079l6.91-8.15c.0439-.0552.2783-.3649.2788-.3657A8.901,8.901,0,0,0,25,13,9,9,0,0,0,7,13a8.9054,8.9054,0,0,0,1.8125,5.395Z" })), children); }); if (process.env.NODE_ENV !== "production") { LocationHazard.propTypes = iconPropTypes; } export { LocationHazard as default };