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)

21 lines (18 loc) 1.2 kB
import { __rest } from '../../node_modules/tslib/tslib.es6.js'; import React__default from 'react'; import { withTheme } from 'styled-components'; const getFillColor = (theme, color) => { return theme && theme.colors[color] ? theme.colors[color] : color; }; const SvgFlameIcon = (_a) => { var { title, theme = null } = _a, props = __rest(_a, ["title", "theme"]); return (React__default.createElement("svg", Object.assign({ viewBox: "0 0 24 24", width: "1em", height: "1em" }, props), title ? React__default.createElement("title", null, title) : null, React__default.createElement("path", { d: "M12.7.3a.967.967 0 00-1.4 0C11 .6 3 8.7 3 14a9 9 0 0018 0C21 8.7 13 .6 12.7.3zM12 18a3.97 3.97 0 01-4-4c.1-1.6 2-4.4 3.2-6a1 1 0 011.6 0c1.2 1.5 3.1 4.4 3.2 5.9a4.04 4.04 0 01-4 4.1z" }))); }; const SvgFlameStyle = (_a) => { var { color = 'currentColor', title } = _a, props = __rest(_a, ["color", "title"]); return (React__default.createElement(SvgFlameIcon, Object.assign({ color: getFillColor(props.theme, color), fill: getFillColor(props.theme, color), title: title }, props))); }; const FlameIcon = withTheme(SvgFlameStyle); export { FlameIcon };