mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-17 01:59:25 +08:00
explicit type args in react-native-github
Reviewed By: vjeux Differential Revision: D3342856 fbshipit-source-id: ba5a4d5529fc9d1d1efe98cc175d718c5f044a5b
This commit is contained in:
committed by
Facebook Github Bot 9
parent
caa2baee9d
commit
ac5636dd59
@@ -336,15 +336,15 @@ exports.description = 'Base component to display web content';
|
||||
exports.examples = [
|
||||
{
|
||||
title: 'Simple Browser',
|
||||
render(): ReactElement { return <WebViewExample />; }
|
||||
render(): ReactElement<any> { return <WebViewExample />; }
|
||||
},
|
||||
{
|
||||
title: 'Scale Page to Fit',
|
||||
render(): ReactElement { return <ScaledWebView/>; }
|
||||
render(): ReactElement<any> { return <ScaledWebView/>; }
|
||||
},
|
||||
{
|
||||
title: 'Bundled HTML',
|
||||
render(): ReactElement {
|
||||
render(): ReactElement<any> {
|
||||
return (
|
||||
<WebView
|
||||
style={{
|
||||
@@ -359,7 +359,7 @@ exports.examples = [
|
||||
},
|
||||
{
|
||||
title: 'Static HTML',
|
||||
render(): ReactElement {
|
||||
render(): ReactElement<any> {
|
||||
return (
|
||||
<WebView
|
||||
style={{
|
||||
@@ -374,7 +374,7 @@ exports.examples = [
|
||||
},
|
||||
{
|
||||
title: 'POST Test',
|
||||
render(): ReactElement {
|
||||
render(): ReactElement<any> {
|
||||
return (
|
||||
<WebView
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user