RealOrangeOne/react-native-mock

Missing support for percentage widths

Open

#135 建立於 2017年5月24日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (151 fork)github user discovery
BugCompatabilityhelp wanted

倉庫指標

Star
 (567 star)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南