UNPKG

@carbon/icons-react

Version:

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

38 lines (35 loc) 1.3 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. */ import React from 'react'; import Icon from './Icon.js'; import { i as iconPropTypes } from './iconPropTypes-C5chbmyn.js'; import '@carbon/icon-helpers'; import 'prop-types'; var _path; const Train = /*#__PURE__*/React.forwardRef(function Train({ children, size = 16, ...rest }, ref) { return /*#__PURE__*/React.createElement(Icon, { 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,3H11A5.0057,5.0057,0,0,0,6,8V20a4.99,4.99,0,0,0,3.582,4.77L7.7693,29H9.9451l1.7143-4h8.6812l1.7143,4h2.1758L22.418,24.77A4.99,4.99,0,0,0,26,20V8A5.0057,5.0057,0,0,0,21,3ZM11,5H21a2.9948,2.9948,0,0,1,2.8157,2H8.1843A2.9948,2.9948,0,0,1,11,5ZM24,19H21v2h2.8157A2.9948,2.9948,0,0,1,21,23H11a2.9948,2.9948,0,0,1-2.8157-2H11V19H8V17H24Zm0-4H8V9H24Z" })), children); }); if (process.env.NODE_ENV !== "production") { Train.propTypes = iconPropTypes; } export { Train as default };