You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
4.0 KiB
97 lines
4.0 KiB
/**
|
|
* Copyright IBM Corp. 2016, 2021
|
|
*
|
|
* 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 { i as iconPropTypes, _ as _objectWithoutProperties, I as Icon, a as _objectSpread2 } from './iconPropTypes-44033017.js';
|
|
import React from 'react';
|
|
import '@carbon/icon-helpers';
|
|
import 'prop-types';
|
|
|
|
var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8;
|
|
|
|
var _excluded = ["children", "size"];
|
|
var WarningFilled = /*#__PURE__*/React.forwardRef(function WarningFilled(_ref, ref) {
|
|
var children = _ref.children,
|
|
_ref$size = _ref.size,
|
|
size = _ref$size === void 0 ? 16 : _ref$size,
|
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
|
|
if (size === 16 || size === "16" || size === "16px") {
|
|
return /*#__PURE__*/React.createElement(Icon, _objectSpread2({
|
|
width: size,
|
|
height: size,
|
|
ref: ref,
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
viewBox: "0 0 16 16",
|
|
fill: "currentColor"
|
|
}, rest), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
d: "M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2 c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z"
|
|
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
d: "M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8 c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z",
|
|
"data-icon-path": "inner-path",
|
|
opacity: "0"
|
|
})), children);
|
|
}
|
|
|
|
if (size === 20 || size === "20" || size === "20px") {
|
|
return /*#__PURE__*/React.createElement(Icon, _objectSpread2({
|
|
width: size,
|
|
height: size,
|
|
ref: ref,
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
viewBox: "0 0 20 20",
|
|
fill: "currentColor"
|
|
}, rest), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
|
|
d: "M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1 s1,0.4,1,1S10.6,16,10,16z"
|
|
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
|
|
d: "M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1s1,0.4,1,1S10.6,16,10,16z",
|
|
"data-icon-path": "inner-path",
|
|
opacity: "0"
|
|
})), children);
|
|
}
|
|
|
|
if (size === 24 || size === "24" || size === "24px") {
|
|
return /*#__PURE__*/React.createElement(Icon, _objectSpread2({
|
|
width: size,
|
|
height: size,
|
|
ref: ref,
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
viewBox: "0 0 24 24",
|
|
fill: "currentColor"
|
|
}, rest), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
|
|
d: "M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11C23,5.9,18.1,1,12,1z M11.1,6h1.8v8h-1.8V6z M12,19.2 c-0.7,0-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2s1.2,0.6,1.2,1.2S12.7,19.2,12,19.2z"
|
|
})), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
|
|
fill: "none",
|
|
d: "M13.2,18c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2S13.2,17.3,13.2,18z M12.9,6 h-1.8v8h1.8V6z",
|
|
"data-icon-path": "inner-path",
|
|
opacity: "0"
|
|
})), children);
|
|
}
|
|
|
|
return /*#__PURE__*/React.createElement(Icon, _objectSpread2({
|
|
width: size,
|
|
height: size,
|
|
ref: ref,
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
viewBox: "0 0 32 32",
|
|
fill: "currentColor"
|
|
}, rest), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
|
|
d: "M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14C30,8.3,23.7,2,16,2z M14.9,8h2.2v11h-2.2V8z M16,25 c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22c0.8,0,1.5,0.7,1.5,1.5S16.8,25,16,25z"
|
|
})), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
|
|
fill: "none",
|
|
d: "M17.5,23.5c0,0.8-0.7,1.5-1.5,1.5c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22 C16.8,22,17.5,22.7,17.5,23.5z M17.1,8h-2.2v11h2.2V8z",
|
|
"data-icon-path": "inner-path",
|
|
opacity: "0"
|
|
})), children);
|
|
});
|
|
|
|
if (process.env.NODE_ENV !== "production") {
|
|
WarningFilled.propTypes = iconPropTypes;
|
|
}
|
|
|
|
export { WarningFilled as default };
|