@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
44 lines (40 loc) • 1.47 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.
*/
;
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;
const PageScroll = /*#__PURE__*/React.forwardRef(function PageScroll({
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: "M16,28H4a1.89,1.89,0,0,1-2-2V14a1.89,1.89,0,0,1,2-2H16a1.89,1.89,0,0,1,2,2V26A1.89,1.89,0,0,1,16,28ZM4,14V26H16V14Z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M22,19H20V10H10V8H20a1.89,1.89,0,0,1,2,2Z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M26 14H24V6H16V4h8a1.89 1.89 0 012 2zM24 17L24 19 26.8 19 22 24.4 22 22 20 22 20 28 26 28 26 26 23.2 26 28 20.6 28 23 30 23 30 17 24 17z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
PageScroll.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = PageScroll;