@unowallet/token-price-widget
Version:
Uno Wallet Token Price Widget for displaying token price information and linking to uno wallet for swapping
5 lines (4 loc) • 1.19 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
export const SwapIcon = ({ width = 24, height = 24, color, className, }) => {
return (_jsx("svg", { width: width, height: height, className: className, viewBox: "0 0 25 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M17.2319 8.27651V6.32154H8.24133C6.93465 6.32154 5.87538 7.38081 5.87538 8.68749C5.87538 9.99417 6.93465 11.0534 8.24133 11.0534H17.7051C20.0571 11.0534 21.9638 12.9601 21.9638 15.3121C21.9638 17.6642 20.0571 19.5709 17.7051 19.5709H7.76814L7.76814 21.5258C7.76814 21.9038 7.34693 22.1292 7.03247 21.9195L2.68044 19.0182C2.39949 18.8309 2.39949 18.4181 2.68044 18.2308L7.03247 15.3294C7.34693 15.1198 7.76814 15.3452 7.76814 15.7231L7.76814 17.6781H17.7051C19.0118 17.6781 20.0711 16.6188 20.0711 15.3121C20.0711 14.0055 19.0118 12.9462 17.7051 12.9462H8.24133C5.88931 12.9462 3.98262 11.0395 3.98262 8.68749C3.98262 6.33547 5.88931 4.42878 8.24133 4.42878H17.2319V2.4738C17.2319 2.09587 17.6531 1.87044 17.9676 2.08008L22.3196 4.98144C22.6006 5.16874 22.6006 5.58158 22.3196 5.76888L17.9676 8.67023C17.6531 8.87987 17.2319 8.65445 17.2319 8.27651Z", fill: color || "#ffffff" }) }));
};