mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-01 22:41:28 +08:00
Summary: expects a string, throws error NSNumber cannot be converted to NSString if passed an integer, added toString() method to allow integers, and keep consistency, fontSize allows int. Closes https://github.com/facebook/react-native/pull/10483 Differential Revision: D5128581 Pulled By: shergin fbshipit-source-id: 21b1ddd35210c8f061506d71b936cc0ff490d999