mirror of
https://github.com/status-im/react-native.git
synced 2025-02-18 20:36:41 +00:00
Fix typo.
This commit is contained in:
parent
bcabb3bc4a
commit
90f399c4d1
2
website/src/react-native/index.js
vendored
2
website/src/react-native/index.js
vendored
@ -156,7 +156,7 @@ var GeoInfo = React.createClass({
|
||||
|
||||
<h2>Extensibility</h2>
|
||||
<p>
|
||||
It is certainly possible to create a great app using React Native without writing a single line of native code, but React Native is also designed to be easily expended with custom native views and modules - that means you can reuse anything you{"'"}ve already built, and can import and use your favorite native libraries. To create a simple module in iOS, create a new class that implements the RCTBridgeModule protocol, and add RCT_EXPORT to the function you want to make available in JavaScript.
|
||||
It is certainly possible to create a great app using React Native without writing a single line of native code, but React Native is also designed to be easily extended with custom native views and modules - that means you can reuse anything you{"'"}ve already built, and can import and use your favorite native libraries. To create a simple module in iOS, create a new class that implements the RCTBridgeModule protocol, and add RCT_EXPORT to the function you want to make available in JavaScript.
|
||||
</p>
|
||||
<Prism>
|
||||
{`// Objective-C
|
||||
|
Loading…
x
Reference in New Issue
Block a user