We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66822eb commit 26d67b6Copy full SHA for 26d67b6
src/index.tsx
@@ -2,7 +2,7 @@ import NextImage, { ImageProps } from 'next/image'
2
import React from 'react'
3
4
export type NextImageFromFileProps = Partial<ImageProps> &
5
- Pick<ImageProps, 'src'>
+ Pick<ImageProps, 'src' | 'alt'>
6
7
export default function NextImageFromFile(props: NextImageFromFileProps) {
8
const [image, setImage] = React.useState<null | {
0 commit comments