@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
48 lines (44 loc) • 1.54 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.
*/
'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, _rect, _path2;
const CabinCareAlert = /*#__PURE__*/React.forwardRef(function CabinCareAlert({
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: "M24 2H26V9H24z"
})), _rect || (_rect = /*#__PURE__*/React.createElement("rect", {
width: "3",
height: "3",
x: "23.5",
y: "11",
rx: "1.5"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M23.8218,18H15.083L11.8643,5.9653a4,4,0,0,0-7.7276,2.07L8.5454,24.5168A2,2,0,0,0,10.4775,26H19v2H4v2H19a2,2,0,0,0,2-2V26h3a4.0046,4.0046,0,0,0,3.98-4.4A4.1215,4.1215,0,0,0,23.8218,18ZM24,24H10.4775L6.0686,7.5181A2,2,0,1,1,9.9324,6.4829L13.5466,20H24a2,2,0,0,1,0,4Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
CabinCareAlert.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = CabinCareAlert;