Update README.md
This commit is contained in:
parent
ecc0032c4e
commit
3c08b94189
|
@ -185,7 +185,7 @@ RCT_EXPORT_VIEW_PROPERTY(myCustomProperty);
|
|||
```javascript
|
||||
// JavaScript
|
||||
|
||||
module.exports = createReactIOSNativeComponentClass({
|
||||
var MyCustomView = createReactIOSNativeComponentClass({
|
||||
validAttributes: { myCustomProperty: true },
|
||||
uiViewClassName: 'MyCustomView',
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue