UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

31 lines (25 loc) 2.21 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var tslib_es6 = require('../../node_modules/tslib/tslib.es6.js'); var React = require('react'); var React__default = _interopDefault(React); var styled = require('styled-components'); var styled__default = _interopDefault(styled); const getFillColor = (theme, color) => { return theme && theme.colors[color] ? theme.colors[color] : color; }; const SvgRocketIcon = (_a) => { var { title, theme = null, titleId = '' } = _a, props = tslib_es6.__rest(_a, ["title", "theme", "titleId"]); return (React__default.createElement("svg", Object.assign({ viewBox: "0 0 64 64", width: "1em", height: "1em", "aria-labelledby": titleId }, props), title ? React__default.createElement("title", { id: titleId }, title) : null, React__default.createElement("g", { className: "rocket_svg__nc-icon-wrapper" }, React__default.createElement("path", { "data-color": "color-2", d: "M29.81 9.5A22.359 22.359 0 005.669 20.051a1 1 0 00.156 1.211l6.5 6.5A66.509 66.509 0 0129.81 9.5zM54.5 34.19a22.359 22.359 0 01-10.551 24.141 1 1 0 01-1.211-.156l-6.5-6.5A66.509 66.509 0 0054.5 34.19zM15.95 48.05a7.009 7.009 0 00-9.9 0C2.827 51.272 2.035 60.526 2 60.918A1 1 0 003 62h.082c.392-.032 9.646-.824 12.868-4.047a7.009 7.009 0 000-9.903z" }), React__default.createElement("path", { d: "M57.017 23.6A56.988 56.988 0 0062 3.057a1 1 0 00-.289-.762A1.01 1.01 0 0060.948 2a56.717 56.717 0 00-20.612 4.922zM38.428 7.842c-19.73 9.875-27.534 28.652-27.634 28.9a1 1 0 00.221 1.08l15.162 15.163a1 1 0 001.086.219c.247-.1 18.933-7.995 28.831-27.7zM35 35a6 6 0 116-6 6 6 0 01-6 6z" })))); }; const SvgRocketStyle = (_a) => { var { color = 'currentColor', title } = _a, props = tslib_es6.__rest(_a, ["color", "title"]); return (React__default.createElement(SvgRocketIcon, Object.assign({ color: getFillColor(props.theme, color), fill: getFillColor(props.theme, color), title: title }, props))); }; const RocketIcon = styled.withTheme(SvgRocketStyle); exports.RocketIcon = RocketIcon;