@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
54 lines (50 loc) • 1.76 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, _path7, _path8;
const TableOfContents = /*#__PURE__*/React.forwardRef(function TableOfContents({
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: "M4 6H22V8H4z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M4 12H22V14H4z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M4 18H22V20H4z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M4 24H22V26H4z"
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
d: "M26 6H28V8H26z"
})), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
d: "M26 12H28V14H26z"
})), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
d: "M26 18H28V20H26z"
})), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
d: "M26 24H28V26H26z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
TableOfContents.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = TableOfContents;