Commit b59674db authored by tom's avatar tom

tests

parent 6f3aa313
<svg viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.736 6.157a.193.193 0 0 0-.193.193v8.488a.579.579 0 0 1-1.157 0V6.35A1.35 1.35 0 0 1 7.736 5h9.269a.578.578 0 0 1 .4.17l5.4 5.4a.578.578 0 0 1 .17.41v3.858a.579.579 0 0 1-1.158 0v-3.28h-4.822a.579.579 0 0 1-.579-.578V6.157h-8.68Zm9.838.819V10.4h3.425l-3.425-3.425Zm-3.858 12.877c0-.23.08-.379.196-.477.124-.107.34-.198.671-.198.397 0 .783.13 1.102.367a.579.579 0 0 0 .692-.928 3.01 3.01 0 0 0-1.792-.597h-.001c-.537 0-1.044.15-1.426.477-.39.336-.6.814-.6 1.356 0 .291.08.554.235.779.148.217.346.369.54.479.348.197.786.313 1.135.405l.064.017c.405.108.704.195.908.32.162.098.205.178.205.314 0 .299-.104.422-.228.502-.166.106-.445.174-.832.174a1.852 1.852 0 0 1-1.102-.368.579.579 0 0 0-.692.928 3.01 3.01 0 0 0 1.791.597h.002c.48 0 1.02-.077 1.457-.357.479-.306.761-.81.761-1.476 0-.635-.343-1.05-.76-1.303-.37-.225-.835-.349-1.2-.446l-.013-.003c-.413-.11-.714-.191-.924-.31a.463.463 0 0 1-.158-.128c-.015-.022-.031-.054-.031-.124ZM18.7 18.16a.579.579 0 0 1 .757.312l1.395 3.347 1.395-3.347a.579.579 0 0 1 1.068.445l-1.929 4.63a.579.579 0 0 1-1.068 0l-1.93-4.63a.579.579 0 0 1 .312-.757ZM8.698 19.274c-.81.002-1.54.725-1.54 1.736 0 1.01.73 1.735 1.54 1.736.357-.003.7-.138.962-.379a.579.579 0 0 1 .781.854 2.604 2.604 0 0 1-1.736.683h-.004C7.158 23.904 6 22.564 6 21.01s1.158-2.893 2.7-2.893h.005a2.604 2.604 0 0 1 1.736.682.579.579 0 1 1-.78.854 1.446 1.446 0 0 0-.963-.379Z" fill="currentColor"/>
</svg>
import { chakra, Icon, Link, Tooltip } from '@chakra-ui/react'; import { chakra, Icon, Link, Tooltip } from '@chakra-ui/react';
import React from 'react'; import React from 'react';
import svgFileIcon from 'icons/svg_file.svg'; import svgFileIcon from 'icons/files/csv.svg';
import useIsMobile from 'lib/hooks/useIsMobile'; import useIsMobile from 'lib/hooks/useIsMobile';
import link from 'lib/link/link'; import link from 'lib/link/link';
...@@ -22,7 +22,7 @@ const AddressCsvExportLink = ({ className, address, type }: Props) => { ...@@ -22,7 +22,7 @@ const AddressCsvExportLink = ({ className, address, type }: Props) => {
alignItems="center" alignItems="center"
href={ link('csv_export', undefined, { type, address }) } href={ link('csv_export', undefined, { type, address }) }
> >
<Icon as={ svgFileIcon } boxSize={ 6 }/> <Icon as={ svgFileIcon } boxSize="30px"/>
{ !isMobile && <chakra.span ml={ 1 }>Download CSV</chakra.span> } { !isMobile && <chakra.span ml={ 1 }>Download CSV</chakra.span> }
</Link> </Link>
</Tooltip> </Tooltip>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment