@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.44 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
export const ExternalLinkIcon = ({ width = 24, height = 24, color, className, onClick, }) => {
return (_jsxs("svg", { width: width, height: height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className, onClick: onClick, children: [_jsx("path", { d: "M15.5 1.5C15.5 0.947715 15.9477 0.5 16.5 0.5H22.5C23.0523 0.5 23.5 0.947715 23.5 1.5V7.5C23.5 8.05228 23.0523 8.5 22.5 8.5C21.9477 8.5 21.5 8.05228 21.5 7.5V3.91398L12.2071 13.2069C11.8166 13.5974 11.1834 13.5974 10.7929 13.2069C10.4024 12.8164 10.4024 12.1832 10.7929 11.7927L20.0856 2.5H16.5C15.9477 2.5 15.5 2.05228 15.5 1.5Z", fill: color }), _jsx("path", { d: "M5.79289 5.79289C5.98043 5.60536 6.23478 5.5 6.5 5.5H12.5C13.0523 5.5 13.5 5.05228 13.5 4.5C13.5 3.94772 13.0523 3.5 12.5 3.5H6.5C5.70435 3.5 4.94129 3.81607 4.37868 4.37868C3.81607 4.94129 3.5 5.70435 3.5 6.5V17.5C3.5 18.2957 3.81607 19.0587 4.37868 19.6213C4.94129 20.1839 5.70435 20.5 6.5 20.5H17.5C18.2957 20.5 19.0587 20.1839 19.6213 19.6213C20.1839 19.0587 20.5 18.2957 20.5 17.5V11.5C20.5 10.9477 20.0523 10.5 19.5 10.5C18.9477 10.5 18.5 10.9477 18.5 11.5V17.5C18.5 17.7652 18.3946 18.0196 18.2071 18.2071C18.0196 18.3946 17.7652 18.5 17.5 18.5H6.5C6.23478 18.5 5.98043 18.3946 5.79289 18.2071C5.60536 18.0196 5.5 17.7652 5.5 17.5V6.5C5.5 6.23478 5.60536 5.98043 5.79289 5.79289Z", fill: color })] }));
};