poli-charts
Version:
The best graphics for your Hedera Network application NFTs.
8 lines (7 loc) • 403 B
JavaScript
export function arrowSvg(color) {
return `
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" id="Arrow">
<path d="M4 15a1 1 0 0 0 1 1h19.586l-4.292 4.292a1 1 0 0 0 1.414 1.414l6-6a.99.99 0 0 0 .292-.702V15c0-.13-.026-.26-.078-.382a.99.99 0 0 0-.216-.324l-6-6a1 1 0 0 0-1.414 1.414L24.586 14H5a1 1 0 0 0-1 1z" fill="${color}" class="color000000 svgShape"/>
</svg>
`;
}