@sexyicons/react
Version:
React components for sexy icons: Icons speak louder than words
32 lines (29 loc) • 2.78 kB
JavaScript
import React from 'react';
import { withSVG } from '../helpers/withSVG.js';
const Coffee = ({ color = "currentColor", secondaryColor, set = "line", }) => {
const Line = () => (React.createElement(React.Fragment, null,
React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M2.164 5.329A3.107 3.107 0 0 1 5.264 2h9.473a3.108 3.108 0 0 1 3.106 3H18a4 4 0 0 1 0 8h-.967a7.444 7.444 0 0 1-14.458-1.914L2.164 5.33ZM17.43 11H18a2 2 0 1 0 0-4h-.283l-.286 4ZM5.263 4c-.642 0-1.15.545-1.104 1.186l.411 5.758a5.444 5.444 0 0 0 10.86 0l.411-5.758A1.107 1.107 0 0 0 14.737 4H5.263Z", fill: color }),
React.createElement("path", { d: "M2 21a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Z", fill: color })));
const Solid = () => (React.createElement(React.Fragment, null,
React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M2.164 5.329A3.107 3.107 0 0 1 5.264 2h9.473a3.108 3.108 0 0 1 3.106 3H18a4 4 0 0 1 0 8h-.967a7.444 7.444 0 0 1-14.458-1.914L2.164 5.33ZM17.43 11H18a2 2 0 1 0 0-4h-.283l-.286 4Z", fill: color }),
React.createElement("path", { d: "M2 21a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Z", fill: color })));
const Lineal = () => (React.createElement(React.Fragment, null,
React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M2.164 5.329A3.107 3.107 0 0 1 5.264 2h9.473a3.108 3.108 0 0 1 3.106 3H18a4 4 0 0 1 0 8h-.967a7.444 7.444 0 0 1-14.458-1.914L2.164 5.33ZM17.43 11H18a2 2 0 1 0 0-4h-.283l-.286 4ZM5.263 4c-.642 0-1.15.545-1.104 1.186l.411 5.758a5.444 5.444 0 0 0 10.86 0l.411-5.758A1.107 1.107 0 0 0 14.737 4H5.263Z", fill: color }),
React.createElement("path", { d: "M2 21a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Z", fill: secondaryColor })));
const Bulk = () => (React.createElement(React.Fragment, null,
React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M2 21a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1ZM16.571 6a1 1 0 0 1 1-1H18a4 4 0 0 1 0 8h-1a1 1 0 1 1 0-2h1a2 2 0 1 0 0-4h-.429a1 1 0 0 1-1-1Z", fill: color }),
React.createElement("path", { d: "M5.263 2a3.107 3.107 0 0 0-3.1 3.329l.412 5.757a7.444 7.444 0 0 0 14.85 0l.411-5.757A3.107 3.107 0 0 0 14.736 2H5.264Z", fill: secondaryColor })));
switch (set) {
case "solid":
return React.createElement(Solid, null);
case "lineal":
return React.createElement(Lineal, null);
case "bulk":
return React.createElement(Bulk, null);
default:
return React.createElement(Line, null);
}
};
var Coffee$1 = withSVG(Coffee);
export { Coffee, Coffee$1 as default };
//# sourceMappingURL=Coffee.js.map