UNPKG

@kiwicom/orbit-components

Version:

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.

33 lines (27 loc) 1.86 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = TicketTrain; var React = _interopRequireWildcard(require("react")); var _Icon = _interopRequireDefault(require("../Icon")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } } /* eslint-disable */ function TicketTrain(props) { var color = props.color, size = props.size, customColor = props.customColor, className = props.className, dataTest = props.dataTest; return React.createElement(_Icon.default, { viewBox: "0 0 24 24", size: size, color: color, customColor: customColor, className: className, dataTest: dataTest }, React.createElement("path", { d: "M22 4c1.1 0 2 .9 2 2v14c0 1.1-.9 2-2 2H2c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h20zM6 8A1 1 0 1 0 6 6.002 1 1 0 0 0 6 8zm0 4A1 1 0 1 0 6 10.002 1 1 0 0 0 6 12zm0 4A1 1 0 1 0 6 14.002 1 1 0 0 0 6 16zm0 4A1 1 0 1 0 6 18.002 1 1 0 0 0 6 20zm9.53-11.548c-1.89 0-3.781.236-3.781 1.89v4.49c0 .914.74 1.655 1.654 1.655l-.709.709v.236h1.054l.945-.945h1.782l.945.945h.946v-.236l-.71-.71c.914 0 1.655-.74 1.655-1.654v-4.49c0-1.654-1.692-1.89-3.781-1.89zm-2.127 7.09a.709.709 0 1 1 0-1.419.709.709 0 0 1 0 1.418zm1.654-3.31h-2.363v-1.89h2.363v1.89zm.946 0v-1.89h2.363v1.89h-2.363zm1.654 3.31a.709.709 0 1 1 0-1.419.709.709 0 0 1 0 1.418z" })); }