tailwind-nextjs-blog/components/Image.tsx

6 lines
144 B
TypeScript
Raw Normal View History

2022-10-17 23:37:01 +08:00
import NextImage, { ImageProps } from 'next/image';
2022-10-17 23:37:01 +08:00
const Image = ({ ...rest }: ImageProps) => <NextImage {...rest} />;
2022-10-17 23:37:01 +08:00
export default Image;