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

贡献者指南