diff options
| author | 0t4u <61939142+0t4u@users.noreply.github.com> | 2022-12-05 20:33:28 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-05 20:33:28 +0000 |
| commit | c6aa70a64731b608fade3acab48c1d1d2df280b6 (patch) | |
| tree | a92d130d6b927e520ab40692bc504db7606f2092 /modules/NextImage.tsx | |
Add files via upload
Diffstat (limited to 'modules/NextImage.tsx')
| -rw-r--r-- | modules/NextImage.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/NextImage.tsx b/modules/NextImage.tsx new file mode 100644 index 0000000..e27c0f3 --- /dev/null +++ b/modules/NextImage.tsx @@ -0,0 +1,7 @@ +import Image from "next/image"; + +type NextImageProps = React.ComponentPropsWithoutRef<typeof Image>; + +export const NextImage = (props: NextImageProps) => ( + <Image unoptimized={false} {...props} /> +); |
