phosphor-react-native
Version:
Flexible icons for React Native
90 lines (87 loc) • 2.26 kB
JavaScript
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
/* GENERATED FILE */
import * as React from 'react';
import Svg, { Rect, Line, Circle } from 'react-native-svg';
function Train(props) {
return /*#__PURE__*/React.createElement(Svg, _extends({
id: "Raw",
viewBox: "0 0 256 256",
width: props.size,
height: props.size
}, props), /*#__PURE__*/React.createElement(Rect, {
width: 256,
height: 256,
fill: "none"
}), /*#__PURE__*/React.createElement(Line, {
x1: 44,
y1: 128,
x2: 212,
y2: 128,
fill: "none",
stroke: props.color,
strokeLinecap: "round",
strokeLinejoin: "round",
strokeWidth: 8
}), /*#__PURE__*/React.createElement(Line, {
x1: 44,
y1: 72,
x2: 212,
y2: 72,
fill: "none",
stroke: props.color,
strokeLinecap: "round",
strokeLinejoin: "round",
strokeWidth: 8
}), /*#__PURE__*/React.createElement(Line, {
x1: 96,
y1: 208,
x2: 72,
y2: 240,
fill: "none",
stroke: props.color,
strokeLinecap: "round",
strokeLinejoin: "round",
strokeWidth: 8
}), /*#__PURE__*/React.createElement(Line, {
x1: 160,
y1: 208,
x2: 184,
y2: 240,
fill: "none",
stroke: props.color,
strokeLinecap: "round",
strokeLinejoin: "round",
strokeWidth: 8
}), /*#__PURE__*/React.createElement(Rect, {
x: 44,
y: 32,
width: 168,
height: 176,
rx: 24,
strokeWidth: 8,
stroke: props.color,
strokeLinecap: "round",
strokeLinejoin: "round",
fill: "none"
}), /*#__PURE__*/React.createElement(Line, {
x1: 128,
y1: 72,
x2: 128,
y2: 128,
fill: "none",
stroke: props.color,
strokeLinecap: "round",
strokeLinejoin: "round",
strokeWidth: 8
}), /*#__PURE__*/React.createElement(Circle, {
cx: 84,
cy: 172,
r: 8
}), /*#__PURE__*/React.createElement(Circle, {
cx: 172,
cy: 172,
r: 8
}));
}
export default Train;
//# sourceMappingURL=Train.js.map