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

<Image /> accepts the style property even though it is ignored #18793

Closed
Timer opened this issue Nov 4, 2020 · 1 comment · Fixed by #18796
Closed

<Image /> accepts the style property even though it is ignored #18793

Timer opened this issue Nov 4, 2020 · 1 comment · Fixed by #18796
Assignees
Milestone

Comments

@Timer
Copy link
Member

Timer commented Nov 4, 2020

Bug report

Describe the bug

<Image /> accepts the style property even though it is ignored.

To Reproduce

In a TypeScript file, try to build the following code:

<Image layout='fill' src='...' style={{}} />

Expected behavior

A TypeScript error should occur.

@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants