mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-11 22:32:38 +08:00
more UIExplorer flow
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/**
|
||||
* Copyright 2004-present Facebook. All Rights Reserved.
|
||||
* @flow
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
@@ -35,6 +36,8 @@ var WebViewExample = React.createClass({
|
||||
};
|
||||
},
|
||||
|
||||
inputText: '',
|
||||
|
||||
handleTextInputChange: function(event) {
|
||||
this.inputText = event.nativeEvent.text;
|
||||
},
|
||||
@@ -259,6 +262,6 @@ exports.description = 'Base component to display web content';
|
||||
exports.examples = [
|
||||
{
|
||||
title: 'WebView',
|
||||
render() { return <WebViewExample />; }
|
||||
render(): ReactElement { return <WebViewExample />; }
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user