From a97127b7bb2b0bc78387ceea1c6b9d3221ee937f Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Tue, 15 Mar 2016 18:02:30 -0700 Subject: [PATCH] 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 --- website/src/react-native/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/react-native/index.js b/website/src/react-native/index.js index ea77ccd8c..04a624eb3 100644 --- a/website/src/react-native/index.js +++ b/website/src/react-native/index.js @@ -351,7 +351,7 @@ class Message extends Component {

Creating Android views

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

{`// Java