UNPKG

@carbon/icons-react

Version:

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

40 lines (37 loc) 1.55 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, _path2; const TrainHeart = /*#__PURE__*/React.forwardRef(function TrainHeart({ 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: "M27.303,2a2.6613,2.6613,0,0,0-1.9079.8059l-.3932.4053-.397-.4053a2.6612,2.6612,0,0,0-3.8157,0,2.7991,2.7991,0,0,0,0,3.8963L25.0019,11l4.2089-4.2978a2.7991,2.7991,0,0,0,0-3.8963A2.6613,2.6613,0,0,0,27.303,2Z" })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", { d: "M22,13v3H6V10h9V8H6.1843A2.9948,2.9948,0,0,1,9,6h6V4H9A5.0057,5.0057,0,0,0,4,9V21a4.99,4.99,0,0,0,3.582,4.77L5.7693,30H7.9451l1.7143-4h8.6812l1.7143,4h2.1758L20.418,25.77A4.99,4.99,0,0,0,24,21V13Zm0,7H19v2h2.8157A2.9948,2.9948,0,0,1,19,24H9a2.9948,2.9948,0,0,1-2.8157-2H9V20H6V18H22Z" })), children); }); if (process.env.NODE_ENV !== "production") { TrainHeart.propTypes = iconPropTypes; } export { TrainHeart as default };