added image picker

This commit is contained in:
Ren Amamiya
2023-03-27 21:14:03 +07:00
parent 38033fcd57
commit 49f716a7d4
6 changed files with 58 additions and 47 deletions

View File

@@ -3,7 +3,7 @@ import { memo } from 'react';
export const ImagePreview = memo(function ImagePreview({ url }: { url: string }) {
return (
<div className="relative mt-3 h-full w-full rounded-lg xl:w-2/3">
<div className="relative mt-3 mb-2 h-full w-full rounded-lg xl:w-2/3">
<Image
src={url}
alt={url}