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.
59 lines
2.7 KiB
59 lines
2.7 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.
|
|
*/
|
|
'use strict';
|
|
|
|
var iconPropTypes = require('./iconPropTypes-bd86aa8e.js');
|
|
var React = require('react');
|
|
require('@carbon/icon-helpers');
|
|
require('prop-types');
|
|
|
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
|
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
|
var _path, _path2;
|
|
|
|
var _excluded = ["children", "size"];
|
|
var Notification = /*#__PURE__*/React__default["default"].forwardRef(function Notification(_ref, ref) {
|
|
var children = _ref.children,
|
|
_ref$size = _ref.size,
|
|
size = _ref$size === void 0 ? 16 : _ref$size,
|
|
rest = iconPropTypes._objectWithoutProperties(_ref, _excluded);
|
|
|
|
if (size === 16 || size === "16" || size === "16px") {
|
|
return /*#__PURE__*/React__default["default"].createElement(iconPropTypes.Icon, iconPropTypes._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__default["default"].createElement("path", {
|
|
d: "M14.4,10.1L13,8.8V6.5c0-2.6-1.9-4.7-4.5-5v-1h-1v1C5,1.8,3,3.9,3,6.5v2.3l-1.4,1.3c-0.1,0.1-0.2,0.2-0.1,0.4V12 c0,0.3,0.2,0.5,0.4,0.5c0,0,0,0,0.1,0h3.5C5.5,13.9,6.6,15,8,15s2.5-1.1,2.5-2.5H14c0.3,0,0.5-0.2,0.5-0.4c0,0,0,0,0-0.1v-1.5 C14.5,10.4,14.4,10.2,14.4,10.1z M8,14c-0.8,0-1.5-0.7-1.5-1.5h3C9.5,13.3,8.8,14,8,14z M13.5,11.5h-11v-0.8l1.3-1.4 C3.9,9.3,4,9.1,4,9V6.5c0-2.2,1.8-4,4-4s4,1.8,4,4V9c0,0.1,0.1,0.3,0.1,0.4l1.4,1.3V11.5z"
|
|
})), children);
|
|
}
|
|
|
|
return /*#__PURE__*/React__default["default"].createElement(iconPropTypes.Icon, iconPropTypes._objectSpread2({
|
|
width: size,
|
|
height: size,
|
|
ref: ref,
|
|
xmlns: "http://www.w3.org/2000/svg",
|
|
viewBox: "0 0 32 32",
|
|
fill: "currentColor"
|
|
}, rest), _path2 || (_path2 = /*#__PURE__*/React__default["default"].createElement("path", {
|
|
d: "M28.7071,19.293,26,16.5859V13a10.0136,10.0136,0,0,0-9-9.9492V1H15V3.0508A10.0136,10.0136,0,0,0,6,13v3.5859L3.2929,19.293A1,1,0,0,0,3,20v3a1,1,0,0,0,1,1h7v.7768a5.152,5.152,0,0,0,4.5,5.1987A5.0057,5.0057,0,0,0,21,25V24h7a1,1,0,0,0,1-1V20A1,1,0,0,0,28.7071,19.293ZM19,25a3,3,0,0,1-6,0V24h6Zm8-3H5V20.4141L7.707,17.707A1,1,0,0,0,8,17V13a8,8,0,0,1,16,0v4a1,1,0,0,0,.293.707L27,20.4141Z"
|
|
})), children);
|
|
});
|
|
|
|
if (process.env.NODE_ENV !== "production") {
|
|
Notification.propTypes = iconPropTypes.iconPropTypes;
|
|
}
|
|
|
|
module.exports = Notification;
|