Fix outdated custom view example p2
Summary:Forgot to fix the description of the example in #6435 `UIProp` -> `ReactProp` Closes https://github.com/facebook/react-native/pull/6442 Differential Revision: D3056520 fb-gh-sync-id: 0995ba66d550279bb75daa733673c68d37c5c793 shipit-source-id: 0995ba66d550279bb75daa733673c68d37c5c793
This commit is contained in:
parent
28649b8cf0
commit
a97127b7bb
|
@ -351,7 +351,7 @@ class Message extends Component {
|
||||||
|
|
||||||
<h3>Creating Android views</h3>
|
<h3>Creating Android views</h3>
|
||||||
<p>
|
<p>
|
||||||
Custom Android views can be exposed by extending SimpleViewManager, implementing a createViewInstance and getName methods, and exporting properties with the @UIProp annotation. Then a simple JavaScript file connects the dots.
|
Custom Android views can be exposed by extending SimpleViewManager, implementing a createViewInstance and getName methods, and exporting properties with the @ReactProp annotation. Then a simple JavaScript file connects the dots.
|
||||||
</p>
|
</p>
|
||||||
<Prism>
|
<Prism>
|
||||||
{`// Java
|
{`// Java
|
||||||
|
|
Loading…
Reference in New Issue