diff options
Diffstat (limited to 'lib/next_image.tsx')
-rw-r--r-- | lib/next_image.tsx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/next_image.tsx b/lib/next_image.tsx deleted file mode 100644 index 6fb25bf..0000000 --- a/lib/next_image.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import NextImage from "next/image"; -import { chakra } from "@chakra-ui/react"; - -const Image = chakra(NextImage, { - baseStyle: { maxH: 120, maxW: 120 }, - shouldForwardProp: (prop) => - [ - "width", - "height", - "src", - "alt", - "quality", - "placeholder", - "blurDataURL", - "loader ", - ].includes(prop), -}); - -export default Image |