add download button to image

This commit is contained in:
Ren Amamiya
2023-07-23 17:27:51 +07:00
parent 13ca8a2c54
commit 71c4f3db22
6 changed files with 48 additions and 8 deletions

View File

@@ -0,0 +1,22 @@
import { SVGProps } from 'react';
export function DownloadIcon(props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
fill="none"
viewBox="0 0 24 24"
{...props}
>
<path
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
d="M20.25 14.75v4.5a1 1 0 01-1 1H4.75a1 1 0 01-1-1v-4.5M12 15V3.75M12 15l-3.5-3.5M12 15l3.5-3.5"
></path>
</svg>
);
}

View File

@@ -46,4 +46,5 @@ export * from './unfollow';
export * from './reaction';
export * from './thread';
export * from './strangers';
export * from './download';
// @endindex