mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 14:13:26 +00:00
Merge pull request #301 from cahlan/patch-1
corrects typo in NativeModulesIOS README
This commit is contained in:
commit
60f61e8ee4
@ -97,7 +97,7 @@ CalendarManager.addEvent('Birthday Party', {
|
||||
|
||||
> **NOTE**: About array and map
|
||||
>
|
||||
> React Native doesn't provide any guarantees about the types of values in these structures. Your native module might expect array of strings, but if JavaScript calls your method with an array that contains number and string you'll get `NSArray` with `NSNumber` and `NSString`. It's developer's responsibility to check array/map values types (see [`RCTConvert`](https://github.com/facebook/react-native/blob/master/React/Base/RCTConvert.h) for helper methods).
|
||||
> React Native doesn't provide any guarantees about the types of values in these structures. Your native module might expect array of strings, but if JavaScript calls your method with an array that contains number and string you'll get `NSArray` with `NSNumber` and `NSString`. It's the developer's responsibility to check array/map values types (see [`RCTConvert`](https://github.com/facebook/react-native/blob/master/React/Base/RCTConvert.h) for helper methods).
|
||||
|
||||
# Callbacks
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user