mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-17 23:04:40 +08:00
React.Element<any> » React.Element<*>
Reviewed By: yungsters Differential Revision: D4027388 fbshipit-source-id: 5bc178eab1ab72283622b4b7d418f9fd43ec0792
This commit is contained in:
committed by
Facebook Github Bot
parent
8e2d4cc680
commit
e58d17e68b
@@ -337,15 +337,15 @@ exports.description = 'Base component to display web content';
|
||||
exports.examples = [
|
||||
{
|
||||
title: 'Simple Browser',
|
||||
render(): React.Element<any> { return <WebViewExample />; }
|
||||
render(): React.Element<*> { return <WebViewExample />; }
|
||||
},
|
||||
{
|
||||
title: 'Scale Page to Fit',
|
||||
render(): React.Element<any> { return <ScaledWebView/>; }
|
||||
render(): React.Element<*> { return <ScaledWebView/>; }
|
||||
},
|
||||
{
|
||||
title: 'Bundled HTML',
|
||||
render(): React.Element<any> {
|
||||
render(): React.Element<*> {
|
||||
return (
|
||||
<WebView
|
||||
style={{
|
||||
@@ -360,7 +360,7 @@ exports.examples = [
|
||||
},
|
||||
{
|
||||
title: 'Static HTML',
|
||||
render(): React.Element<any> {
|
||||
render(): React.Element<*> {
|
||||
return (
|
||||
<WebView
|
||||
style={{
|
||||
@@ -375,7 +375,7 @@ exports.examples = [
|
||||
},
|
||||
{
|
||||
title: 'POST Test',
|
||||
render(): React.Element<any> {
|
||||
render(): React.Element<*> {
|
||||
return (
|
||||
<WebView
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user