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

fix(react): Add missing arShadowReceiver prop #285

Merged
merged 1 commit into from
May 9, 2024

Conversation

alexttyip
Copy link
Contributor

According to the documentation for ViroQuad and ViroPolygon, they should have an arShadowReceiver prop to determine if the component should act as a transparent surface and capture any shadows that are cast onto it.

This, however, is missing from the prop types of the two components, which means TypeScript errors when the components are used with that prop.

This PR adds the prop to the prop type definitions of the two components.

@cjmcassar cjmcassar merged commit 80bb253 into ReactVision:main May 9, 2024
1 check passed
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.

3 participants