RealOrangeOne/react-native-mock

Missing support for percentage widths

Open

#135 geöffnet am 24. Mai 2017

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (151 Forks)github user discovery
BugCompatabilityhelp wanted

Repository-Metriken

Stars
 (567 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide