tailwind-nextjs-blog/components/Image.tsx

6 lines
144 B
TypeScript
Raw Normal View History

2023-08-16 23:55:57 +08:00
import NextImage, { ImageProps } from 'next/image';
2023-08-16 23:55:57 +08:00
const Image = ({ ...rest }: ImageProps) => <NextImage {...rest} />;
2023-08-16 23:55:57 +08:00
export default Image;