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.
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.