@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
52 lines (48 loc) • 1.82 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;
const TextVerticalAlignment = /*#__PURE__*/React.forwardRef(function TextVerticalAlignment({
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 28H30V30H16z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M16 23H30V25H16z"
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
d: "M10.8458,30H13L8.64,20H6.36L2,30H4.1542l.8-2h5.0916ZM5.7541,26,7.5,21.6347,9.2459,26Z"
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
d: "M2 15H30V17H2z"
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
d: "M16 7H30V9H16z"
})), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
d: "M16 2H30V4H16z"
})), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
d: "M10.8458,12H13L8.64,2H6.36L2,12H4.1542l.8-2h5.0916ZM5.7541,8,7.5,3.6347,9.2459,8Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
TextVerticalAlignment.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = TextVerticalAlignment;