@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
54 lines (50 loc) • 1.87 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, _path2, _path3, _path4, _path5, _path6;
const WindowOverlay = /*#__PURE__*/React.forwardRef(function WindowOverlay({
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: "M15 6H17V9H15zM25 17H28V19H25zM15 27H17V30H15zM4 17H7V19H4z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M7.55 9.03H9.55V12.03H7.55z",
transform: "rotate(-45 8.558 10.545)"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M21.96 9.54H24.96V11.54H21.96z",
transform: "rotate(-45 23.466 10.54)"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M22.46 23.94H24.46V26.94H22.46z",
transform: "rotate(-45 23.459 25.443)"
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
d: "M7.04 24.45H10.04V26.45H7.04z",
transform: "rotate(-45 8.55 25.448)"
})), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
d: "M4 2H28V4H4zM16 24a6 6 0 10-6-6A6 6 0 0016 24zm0-10v8a4 4 0 010-8z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
WindowOverlay.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = WindowOverlay;