Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alt tag raises type error #38

Open
sourceful-wing opened this issue Jul 7, 2023 · 0 comments
Open

Alt tag raises type error #38

sourceful-wing opened this issue Jul 7, 2023 · 0 comments

Comments

@sourceful-wing
Copy link

src/components/ImageGrid.tsx:43:17 - error TS2322: Type '{ className: string; style: { width: string; height: string; }; alt: string; src: string; onClick: () => void; onRequestClose: () => void; zoomed: boolean; }' is not assignable to type 'IntrinsicAttributes & ImageEnlargerProps & { children?: ReactNode; }'.
Property 'alt' does not exist on type 'IntrinsicAttributes & ImageEnlargerProps & { children?: ReactNode; }'.

43 alt='View more of this design'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant