RealOrangeOne/react-native-mock

Missing support for percentage widths

Open

#135 aberto em 24 de mai. de 2017

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (151 forks)github user discovery
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`.

Guia do colaborador