UNPKG

@violetprotocol/nudge-components

Version:

Components for Nudge's websites and applications.

6 lines (5 loc) 1.28 kB
import { jsx as _jsx } from "react/jsx-runtime"; import { DEFAULT_ICON_COLOR } from "../SocialIcon"; export const TelegramIcon = ({ color }) => { return (_jsx("svg", { width: "20", height: "16", viewBox: "0 0 20 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.18712 6.96938C7.0461 4.85919 10.2808 3.45703 11.9051 2.77678C16.528 0.84707 17.4998 0.513883 18.1246 0.5C18.2634 0.5 18.5688 0.527766 18.777 0.694359C18.9436 0.833187 18.9853 1.01366 19.0131 1.15249C19.0408 1.29132 19.0686 1.58286 19.0408 1.80498C18.7909 4.44271 17.7081 10.8427 17.1528 13.7858C16.9168 15.0353 16.4586 15.4518 16.0144 15.4934C15.0426 15.5767 14.3068 14.8548 13.3766 14.244C11.9051 13.286 11.086 12.6891 9.65606 11.7451C8.00401 10.6622 9.07298 10.0652 10.017 9.09344C10.2669 8.84355 14.5289 4.95637 14.6122 4.6093C14.6261 4.56766 14.6261 4.40106 14.5289 4.31776C14.4317 4.23447 14.2929 4.26223 14.1818 4.29C14.0291 4.31776 11.6968 5.87264 7.15716 8.94073C6.49079 9.39886 5.89383 9.62099 5.3524 9.6071C4.75544 9.59322 3.61705 9.27392 2.75632 8.99626C1.71511 8.66308 0.882141 8.4826 0.951555 7.89952C0.993203 7.5941 1.40969 7.28868 2.18712 6.96938Z", fill: color ?? DEFAULT_ICON_COLOR, fillOpacity: "0.75" }) })); };