UNPKG

@sexyicons/react

Version:

React components for sexy icons: Icons speak louder than words

28 lines (25 loc) 3.03 kB
import React from 'react'; import { withSVG } from '../helpers/withSVG.js'; const Bullhorn = ({ color = "currentColor", secondaryColor, set = "line", }) => { const Line = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.82 5.17a2.792 2.792 0 0 0-3.972-.937l-.89.593A12.947 12.947 0 0 1 7.779 7H6a4 4 0 0 0-.278 7.99l-.34 1.362a3.056 3.056 0 0 0 5.585 2.313l1.639-2.73c.82.33 1.61.744 2.353 1.24l.89.592a2.792 2.792 0 0 0 3.972-.937 11.75 11.75 0 0 0 0-11.66Zm-9.178 10.15A12.945 12.945 0 0 0 7.78 15l-.46 1.837a1.056 1.056 0 0 0 1.931.8l1.39-2.316Zm6.316-9.423a.792.792 0 0 1 1.126.266 9.75 9.75 0 0 1 0 9.674.792.792 0 0 1-1.126.266l-.89-.593A14.946 14.946 0 0 0 7.778 13H6a2 2 0 0 1 0-4h1.777c2.951 0 5.836-.873 8.291-2.51l.89-.593Z", fill: color })); const Solid = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.82 5.17a2.792 2.792 0 0 0-3.972-.937l-.89.593A12.947 12.947 0 0 1 7.779 7H6a4 4 0 0 0-.278 7.99l-.34 1.362a3.056 3.056 0 0 0 5.585 2.313l1.639-2.73c.82.33 1.61.744 2.353 1.24l.89.592a2.792 2.792 0 0 0 3.972-.937 11.75 11.75 0 0 0 0-11.66Zm-9.178 10.15A12.945 12.945 0 0 0 7.78 15l-.46 1.837a1.056 1.056 0 0 0 1.931.8l1.39-2.316Z", fill: color })); const Lineal = () => (React.createElement(React.Fragment, null, React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "m7.97 14.243-.648 2.594a1.056 1.056 0 0 0 1.93.8l1.89-3.151 1.716 1.029-1.89 3.15a3.056 3.056 0 0 1-5.587-2.313l.649-2.594 1.94.485Z", fill: secondaryColor }), React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M15.848 4.233a2.792 2.792 0 0 1 3.973.937 11.75 11.75 0 0 1 0 11.66 2.792 2.792 0 0 1-3.973.937l-.89-.593A12.947 12.947 0 0 0 7.779 15H6a4 4 0 0 1 0-8h1.777c2.556 0 5.055-.757 7.182-2.174l.89-.593Zm2.236 1.93a.792.792 0 0 0-1.126-.266l-.89.593A14.947 14.947 0 0 1 7.778 9H6a2 2 0 1 0 0 4h1.777c2.951 0 5.836.873 8.291 2.51l.89.593a.792.792 0 0 0 1.126-.266 9.75 9.75 0 0 0 0-9.674Z", fill: color }))); const Bulk = () => (React.createElement(React.Fragment, null, React.createElement("path", { d: "M8.213 13.509a2 2 0 0 0-2.426 1.455l-.439 1.757a2.861 2.861 0 0 0 5.433 1.757l1.573-3.934-4.141-1.035Z", fill: color }), React.createElement("path", { d: "M19.82 5.407a2.792 2.792 0 0 0-3.972-.938l-.89.593a12.947 12.947 0 0 1-7.18 2.175H6a4 4 0 1 0 0 8h1.777c2.556 0 5.055.756 7.182 2.174l.89.593a2.792 2.792 0 0 0 3.972-.938 11.75 11.75 0 0 0 0-11.659Z", 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 Bullhorn$1 = withSVG(Bullhorn); export { Bullhorn, Bullhorn$1 as default }; //# sourceMappingURL=Bullhorn.js.map