UNPKG

@violetprotocol/nudge-components

Version:

Components for Nudge's websites and applications.

6 lines (5 loc) 1.6 kB
import { jsx as _jsx } from "react/jsx-runtime"; import { DEFAULT_ICON_COLOR } from "../SocialIcon"; export const DiscordIcon = ({ color }) => { return (_jsx("svg", { width: "18", height: "15", viewBox: "0 0 18 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { id: "path815", d: "M15.1884 1.74305C14.0337 1.20801 12.7998 0.819602 11.5091 0.597656C11.3506 0.881693 11.1656 1.26349 11.0375 1.56735C9.66618 1.36258 8.30676 1.36258 6.96056 1.56735C6.83241 1.26349 6.64349 0.881693 6.48364 0.597656C5.1916 0.819602 3.95637 1.20933 2.80172 1.74569C0.47526 5.23077 -0.156227 8.62864 0.159517 11.979C1.70389 13.1217 3.2007 13.8153 4.67108 14.2698C5.03439 13.7743 5.35806 13.2485 5.63681 12.6937C5.10573 12.4942 4.59578 12.2471 4.1149 11.9605C4.24305 11.8667 4.36723 11.7689 4.48745 11.6685C7.42162 13.0279 10.6094 13.0279 13.5079 11.6685C13.6295 11.7689 13.755 11.8667 13.8805 11.9605C13.3983 12.2485 12.887 12.4955 12.3559 12.695C12.6347 13.2485 12.957 13.7757 13.3217 14.2711C14.7947 13.8166 16.2915 13.123 17.8359 11.979C18.2058 8.09492 17.2031 4.72743 15.1857 1.74173L15.1884 1.74305ZM6.03711 9.91936C5.15593 9.91936 4.43461 9.10424 4.43461 8.11341C4.43461 7.12259 5.1414 6.30614 6.03711 6.30614C6.93281 6.30614 7.65546 7.12126 7.6396 8.11341C7.64092 9.10556 6.93281 9.91936 6.03711 9.91936ZM11.9609 9.91936C11.0798 9.91936 10.3584 9.10424 10.3584 8.11341C10.3584 7.12259 11.0652 6.30614 11.9609 6.30614C12.8566 6.30614 13.5793 7.12126 13.5634 8.11341C13.5634 9.10556 12.8566 9.91936 11.9609 9.91936Z", fill: color ?? DEFAULT_ICON_COLOR, fillOpacity: "0.75" }) })); };