UNPKG

@sexyicons/react

Version:

React components for sexy icons: Icons speak louder than words

32 lines (29 loc) 6.58 kB
import React from 'react'; import { withSVG } from '../helpers/withSVG.js'; const Sofa = ({ color = "currentColor", secondaryColor, set = "line", }) => { const Line = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.7718 11.2627L4.08306 8.49569C3.3518 5.55786 5.34306 2.63911 8.33486 2.2635L8.88149 2.19487C10.9511 1.93504 13.0448 1.93504 15.1144 2.19487L15.661 2.2635C18.6528 2.63911 20.6441 5.55786 19.9128 8.49569L19.2241 11.2627C20.908 10.8826 22.503 12.5534 21.8442 14.3178C21.1222 16.2517 19.7651 17.8149 18.064 18.8052L18.9271 20.5389C19.1753 21.0376 18.9741 21.6439 18.4776 21.8932C17.9812 22.1425 17.3775 21.9404 17.1292 21.4418L16.2172 19.6096C15.4169 19.8521 14.5732 19.9809 13.7079 19.9809H10.2884C9.42293 19.9809 8.5792 19.8521 7.77885 19.6096L6.86673 21.4418C6.6185 21.9404 6.01481 22.1425 5.51835 21.8932C5.02189 21.6439 4.82066 21.0376 5.06889 20.5389L5.93206 18.8051C4.23102 17.8148 2.87402 16.2516 2.15201 14.3178C1.49328 12.5535 3.08798 10.8828 4.7718 11.2627ZM9.13081 4.19811C11.0348 3.95907 12.9611 3.95907 14.8651 4.19811L15.4117 4.26674C17.2068 4.4921 18.4015 6.24335 17.9628 8.00606L16.8855 12.3342C13.7636 13.6692 10.2322 13.6691 7.11038 12.334L6.0331 8.00606C5.59434 6.24335 6.7891 4.4921 8.58418 4.26674L9.13081 4.19811ZM4.03408 13.609C3.94609 13.3733 4.19143 13.1515 4.41558 13.264L5.51849 13.8179C9.5975 15.8663 14.3987 15.8663 18.4777 13.8179L19.5806 13.264C19.8048 13.1515 20.0501 13.3733 19.9621 13.609C18.9845 16.2274 16.4922 17.9621 13.7079 17.9621H10.2884C7.50401 17.9621 5.01173 16.2274 4.03408 13.609Z", fill: color })); const Solid = () => (React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.80995 11.1763L4.12465 8.43511C3.39704 5.52467 5.37835 2.63315 8.35519 2.26104L8.89909 2.19305C10.9583 1.93565 13.0416 1.93565 15.1008 2.19305L15.6447 2.26104C18.6216 2.63315 20.6029 5.52467 19.8753 8.43511L19.19 11.1763C20.8654 10.7999 22.4522 12.455 21.7967 14.2029C21.0783 16.1187 19.728 17.6674 18.0354 18.6484L18.8942 20.366C19.1412 20.86 18.941 21.4606 18.447 21.7076C17.953 21.9546 17.3523 21.7544 17.1054 21.2604L16.1978 19.4454C15.4015 19.6856 14.5621 19.8132 13.7011 19.8132H10.2987C9.43773 19.8132 8.59836 19.6856 7.80214 19.4454L6.89465 21.2604C6.64766 21.7544 6.04698 21.9546 5.55301 21.7076C5.05903 21.4606 4.8588 20.86 5.10579 20.366L5.96453 18.6485C4.27183 17.6675 2.92146 16.1188 2.20301 14.2029C1.54754 12.455 3.13445 10.7998 4.80995 11.1763ZM9.14716 4.17761C11.0416 3.9408 12.9583 3.9408 14.8528 4.17761L15.3967 4.2456C17.1828 4.46886 18.3715 6.20378 17.935 7.95004L16.8631 12.2376C13.7568 13.5602 10.2431 13.5603 7.13685 12.2377L6.06493 7.95004C5.62837 6.20378 6.81715 4.46886 8.60326 4.2456L9.14716 4.17761Z", fill: color })); const Lineal = () => (React.createElement(React.Fragment, null, React.createElement("path", { d: "M14.8528 4.36438C12.9583 4.12756 11.0416 4.12756 9.14716 4.36438L8.60326 4.43236C6.81715 4.65563 5.62837 6.39054 6.06493 8.1368L7.21263 12.7276L5.27235 13.2127L4.12465 8.62188C3.39704 5.71144 5.37835 2.81991 8.35519 2.44781L8.89909 2.37982C10.9583 2.12242 13.0416 2.12242 15.1008 2.37982L15.6447 2.44781C18.6216 2.81991 20.6029 5.71144 19.8753 8.62188L18.7276 13.2127L16.7873 12.7276L17.935 8.1368C18.3715 6.39054 17.1828 4.65563 15.3967 4.43236L14.8528 4.36438Z", fill: color }), React.createElement("path", { d: "M7.44743 18.1055C7.94141 18.3525 8.14164 18.9532 7.89465 19.4472L6.89465 21.4472C6.64766 21.9412 6.04698 22.1414 5.55301 21.8944C5.05903 21.6474 4.8588 21.0467 5.10579 20.5528L6.10579 18.5528C6.35278 18.0588 6.95345 17.8586 7.44743 18.1055Z", fill: color }), React.createElement("path", { d: "M16.1054 19.4472C15.8584 18.9532 16.0586 18.3525 16.5526 18.1055C17.0465 17.8586 17.6472 18.0588 17.8942 18.5528L18.8942 20.5528C19.1412 21.0467 18.941 21.6474 18.447 21.8944C17.953 22.1414 17.3523 21.9412 17.1054 21.4472L16.1054 19.4472Z", fill: color }), React.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M2.20313 14.3897C1.47733 12.4542 3.50095 10.6324 5.34981 11.5569L6.44721 12.1056C9.94277 13.8534 14.0572 13.8534 17.5528 12.1056L18.6502 11.5569C20.499 10.6324 22.5227 12.4542 21.7969 14.3897C20.5314 17.7643 17.3053 20 13.7012 20H10.2988C6.69468 20 3.46862 17.7643 2.20313 14.3897ZM4.45538 13.3457C4.23235 13.2342 3.98823 13.454 4.07579 13.6875C5.04855 16.2815 7.52837 18 10.2988 18H13.7012C16.4716 18 18.9514 16.2815 19.9242 13.6875C20.0118 13.454 19.7676 13.2342 19.5446 13.3457L18.4472 13.8944C14.3886 15.9237 9.61139 15.9237 5.55278 13.8944L4.45538 13.3457Z", fill: secondaryColor }))); const Bulk = () => (React.createElement(React.Fragment, null, React.createElement("path", { d: "M7.8424 19.2604C8.08939 18.7664 7.88917 18.1658 7.39519 17.9188C6.90121 17.6718 6.30053 17.872 6.05355 18.366L5.05355 20.366C4.80656 20.86 5.00678 21.4606 5.50076 21.7076C5.99474 21.9546 6.59541 21.7544 6.8424 21.2604L7.8424 19.2604Z", fill: secondaryColor }), React.createElement("path", { d: "M16.0536 19.2604C15.8066 18.7664 16.0068 18.1658 16.5008 17.9188C16.9947 17.6718 17.5954 17.872 17.8424 18.366L18.8424 20.366C19.0894 20.86 18.8892 21.4606 18.3952 21.7076C17.9012 21.9546 17.3005 21.7544 17.0535 21.2604L16.0536 19.2604Z", fill: secondaryColor }), React.createElement("path", { d: "M15.0488 2.19305C12.9896 1.93565 10.9063 1.93565 8.84708 2.19305L8.30319 2.26104C5.32634 2.63315 3.34504 5.52467 4.07265 8.43511L4.97781 12.0558C5.02177 12.2316 5.11269 12.3922 5.24085 12.5203L11.2408 18.5203C11.6314 18.9109 12.2645 18.9109 12.6551 18.5203L18.6551 12.5203C18.7832 12.3922 18.8741 12.2316 18.9181 12.0558L19.8233 8.43511C20.5509 5.52467 18.5696 2.63315 15.5927 2.26104L15.0488 2.19305Z", fill: secondaryColor }), React.createElement("path", { d: "M5.29793 11.3701C3.44907 10.4456 1.42545 12.2674 2.15125 14.2029C3.41674 17.5775 6.6428 19.8132 10.2469 19.8132H13.6493C17.2534 19.8132 20.4795 17.5775 21.745 14.2029C22.4708 12.2674 20.4472 10.4456 18.5983 11.3701L17.5009 11.9188C14.0053 13.6666 9.89089 13.6666 6.39533 11.9188L5.29793 11.3701Z", fill: color }))); 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 Sofa$1 = withSVG(Sofa); export { Sofa, Sofa$1 as default }; //# sourceMappingURL=Sofa.js.map