Skip to content

feat(babel-preset): fix 'role' attribute on svg element for react native#787

Merged
gregberge merged 2 commits intogregberge:mainfrom
slavikdenis:native_accessibility_prop
Oct 14, 2022
Merged

feat(babel-preset): fix 'role' attribute on svg element for react native#787
gregberge merged 2 commits intogregberge:mainfrom
slavikdenis:native_accessibility_prop

Conversation

@slavikdenis
Copy link
Contributor

@slavikdenis slavikdenis commented Oct 12, 2022

Summary

Fixes 'role' attribute introduced in #750 for react-native

Test plan

Upon generation for native, instead of web specific role="img" attribute, there should be the react-native equivalent accessibilityRole="image".

@vercel
Copy link

vercel bot commented Oct 12, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
svgr ❌ Failed (Inspect) Oct 12, 2022 at 2:49PM (UTC)

@slavikdenis
Copy link
Contributor Author

Hi @gregberge

Seems like you have to update node version in Vercel.
Thanks

image

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

Successfully merging this pull request may close these issues.

2 participants