UNPKG

@carbon/icons-react

Version:

React components for icons in digital and software products using the Carbon Design System

40 lines (36 loc) 1.35 kB
/** * 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; const Tram = /*#__PURE__*/React.forwardRef(function Tram({ 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: "M21,6H17V4h6V2H9V4h6V6H11a5.0057,5.0057,0,0,0-5,5V22a4.99,4.99,0,0,0,3.582,4.77L8.1978,30h2.1757l1.2859-3h8.6812l1.2859,3h2.1757L22.418,26.77A4.99,4.99,0,0,0,26,22V11A5.0057,5.0057,0,0,0,21,6ZM11,8H21a2.9948,2.9948,0,0,1,2.8157,2H8.1843A2.9948,2.9948,0,0,1,11,8ZM24,21H21v2h2.8157A2.9948,2.9948,0,0,1,21,25H11a2.9948,2.9948,0,0,1-2.8157-2H11V21H8V19H24Zm0-4H8V12H24Z" })), children); }); if (process.env.NODE_ENV !== "production") { Tram.propTypes = iconPropTypes.iconPropTypes; } module.exports = Tram;