RealOrangeOne/react-native-mock
Ver no GitHubMissing support for percentage widths
Open
#135 aberto em 24 de mai. de 2017
BugCompatabilityhelp wanted
Métricas do repositório
- Stars
- (567 stars)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
React Native has recently added support for percentage widths.
Tests now fail props validation if a react-native-mock component is passed a percentage width string instead of a number:
Error: Warning: Failed prop type: Invalid prop `style.width` of type `string` supplied to `View`, expected `number`.