Fix from prop type only picking up views, which do not have an onPress prop.
Context
After upgrading to RN 0.72 the library started complaining about the from props that were deemed valid before.
I couldn't find any way of setting them properly without changing the type to a more generic one, hence this PR.
Fix from prop type only picking up views, which do not have an onPress prop.
Context
After upgrading to RN 0.72 the library started complaining about the
from
props that were deemed valid before. I couldn't find any way of setting them properly without changing the type to a more generic one, hence this PR.