diff --git a/Examples/UIExplorer/js/AccessibilityIOSExample.js b/Examples/UIExplorer/js/AccessibilityIOSExample.js
index d9249744f..59e5039a8 100644
--- a/Examples/UIExplorer/js/AccessibilityIOSExample.js
+++ b/Examples/UIExplorer/js/AccessibilityIOSExample.js
@@ -68,6 +68,6 @@ exports.description = 'Interface to show iOS\' accessibility samples';
exports.examples = [
{
title: 'Accessibility elements',
- render(): React.Element<*> { return ; }
+ render(): React.Element { return ; }
},
];
diff --git a/Examples/UIExplorer/js/ActionSheetIOSExample.js b/Examples/UIExplorer/js/ActionSheetIOSExample.js
index 144a7b6cd..a65af457c 100644
--- a/Examples/UIExplorer/js/ActionSheetIOSExample.js
+++ b/Examples/UIExplorer/js/ActionSheetIOSExample.js
@@ -197,27 +197,27 @@ exports.description = 'Interface to show iOS\' action sheets';
exports.examples = [
{
title: 'Show Action Sheet',
- render(): React.Element<*> { return ; }
+ render(): React.Element { return ; }
},
{
title: 'Show Action Sheet with tinted buttons',
- render(): React.Element<*> { return ; }
+ render(): React.Element { return ; }
},
{
title: 'Show Share Action Sheet',
- render(): React.Element<*> {
+ render(): React.Element {
return ;
}
},
{
title: 'Share Local Image',
- render(): React.Element<*> {
+ render(): React.Element {
return ;
}
},
{
title: 'Share Screenshot',
- render(): React.Element<*> {
+ render(): React.Element {
return ;
}
}
diff --git a/Examples/UIExplorer/js/AdSupportIOSExample.js b/Examples/UIExplorer/js/AdSupportIOSExample.js
index 1e24fed27..49baf7d7a 100644
--- a/Examples/UIExplorer/js/AdSupportIOSExample.js
+++ b/Examples/UIExplorer/js/AdSupportIOSExample.js
@@ -38,7 +38,7 @@ exports.description = 'Example of using the ad support API.';
exports.examples = [
{
title: 'Ad Support IOS',
- render: function(): React.Element<*> {
+ render: function(): React.Element {
return ;
},
}
diff --git a/Examples/UIExplorer/js/AlertIOSExample.js b/Examples/UIExplorer/js/AlertIOSExample.js
index 2a6cdb76d..0bd9ffa75 100644
--- a/Examples/UIExplorer/js/AlertIOSExample.js
+++ b/Examples/UIExplorer/js/AlertIOSExample.js
@@ -45,7 +45,7 @@ exports.examples = [{
},
{
title: 'Prompt Options',
- render(): React.Element<*> {
+ render(): React.Element {
return ;
}
},
diff --git a/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExApp.js b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExApp.js
index 405589ee2..c7621b42a 100644
--- a/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExApp.js
+++ b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExApp.js
@@ -89,7 +89,7 @@ class Circle extends React.Component {
});
}
- render(): React.Element<*> {
+ render(): React.Element {
if (this.state.panResponder) {
var handlers = this.state.panResponder.panHandlers;
var dragStyle = { // Used to position while dragging
@@ -190,7 +190,7 @@ class AnExApp extends React.Component {
this._onMove = this._onMove.bind(this);
}
- render(): React.Element<*> {
+ render(): React.Element {
var circles = this.state.keys.map((key, idx) => {
if (key === this.state.activeKey) {
return ;
diff --git a/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExBobble.js b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExBobble.js
index f7abcd990..38452adec 100644
--- a/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExBobble.js
+++ b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExBobble.js
@@ -96,7 +96,7 @@ class AnExBobble extends React.Component {
});
}
- render(): React.Element<*> {
+ render(): React.Element {
return (
{this.state.bobbles.map((_, i) => {
diff --git a/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExSet.js b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExSet.js
index 3a97ef4fd..8e6e9a77d 100644
--- a/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExSet.js
+++ b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExSet.js
@@ -52,7 +52,7 @@ class AnExSet extends React.Component {
openColor: randColor(),
};
}
- render(): React.Element<*> {
+ render(): React.Element {
var backgroundColor = this.props.openVal ?
this.props.openVal.interpolate({
inputRange: [0, 1],
diff --git a/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExTilt.js b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExTilt.js
index e467d635e..35c4e62f2 100644
--- a/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExTilt.js
+++ b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExTilt.js
@@ -97,7 +97,7 @@ class AnExTilt extends React.Component {
this._startBurnsZoom();
}
- render(): React.Element<*> {
+ render(): React.Element {
return (
{ return ; }
+ render(): React.Element { return ; }
},
{
title: 'Previous states:',
- render(): React.Element<*> { return ; }
+ render(): React.Element { return ; }
},
{
platform: 'ios',
title: 'Memory Warnings',
description: 'In the IOS simulator, hit Shift+Command+M to simulate a memory warning.',
- render(): React.Element<*> { return ; }
+ render(): React.Element { return ; }
},
];
diff --git a/Examples/UIExplorer/js/AsyncStorageExample.js b/Examples/UIExplorer/js/AsyncStorageExample.js
index e1946bcb1..38ffc4f11 100644
--- a/Examples/UIExplorer/js/AsyncStorageExample.js
+++ b/Examples/UIExplorer/js/AsyncStorageExample.js
@@ -120,6 +120,6 @@ exports.description = 'Asynchronous local disk storage.';
exports.examples = [
{
title: 'Basics - getItem, setItem, removeItem',
- render(): React.Element<*> { return ; }
+ render(): React.Element { return ; }
},
];
diff --git a/Examples/UIExplorer/js/CameraRollExample.js b/Examples/UIExplorer/js/CameraRollExample.js
index 898a3bf17..781fbd861 100644
--- a/Examples/UIExplorer/js/CameraRollExample.js
+++ b/Examples/UIExplorer/js/CameraRollExample.js
@@ -143,6 +143,6 @@ exports.description = 'Example component that uses CameraRoll to list user\'s ph
exports.examples = [
{
title: 'Photos',
- render(): React.Element<*> { return ; }
+ render(): React.Element { return ; }
}
];
diff --git a/Examples/UIExplorer/js/DatePickerIOSExample.js b/Examples/UIExplorer/js/DatePickerIOSExample.js
index cea8a3fea..6daba2e78 100644
--- a/Examples/UIExplorer/js/DatePickerIOSExample.js
+++ b/Examples/UIExplorer/js/DatePickerIOSExample.js
@@ -135,7 +135,7 @@ exports.description = 'Select dates and times using the native UIDatePicker.';
exports.examples = [
{
title: '',
- render: function(): React.Element<*> {
+ render: function(): React.Element {
return ;
},
}];
diff --git a/Examples/UIExplorer/js/ExampleTypes.js b/Examples/UIExplorer/js/ExampleTypes.js
index a5bac8f7e..bf5b7d67d 100644
--- a/Examples/UIExplorer/js/ExampleTypes.js
+++ b/Examples/UIExplorer/js/ExampleTypes.js
@@ -27,7 +27,7 @@ import type React from 'react';
export type Example = {
title: string,
- render: () => ?React.Element<*>,
+ render: () => ?React.Element,
description?: string,
platform?: string,
};
diff --git a/Examples/UIExplorer/js/GeolocationExample.js b/Examples/UIExplorer/js/GeolocationExample.js
index 50b927856..559172840 100644
--- a/Examples/UIExplorer/js/GeolocationExample.js
+++ b/Examples/UIExplorer/js/GeolocationExample.js
@@ -39,7 +39,7 @@ exports.description = 'Examples of using the Geolocation API.';
exports.examples = [
{
title: 'navigator.geolocation',
- render: function(): React.Element<*> {
+ render: function(): React.Element {
return ;
},
}
diff --git a/Examples/UIExplorer/js/LayoutAnimationExample.js b/Examples/UIExplorer/js/LayoutAnimationExample.js
index 53fef7b5e..d3836b86e 100644
--- a/Examples/UIExplorer/js/LayoutAnimationExample.js
+++ b/Examples/UIExplorer/js/LayoutAnimationExample.js
@@ -161,12 +161,12 @@ exports.title = 'Layout Animation';
exports.description = 'Layout animation';
exports.examples = [{
title: 'Add and remove views',
- render(): React.Element<*> {
+ render(): React.Element {
return ;
},
}, {
title: 'Cross fade views',
- render(): React.Element<*> {
+ render(): React.Element {
return ;
},
}];
diff --git a/Examples/UIExplorer/js/LayoutEventsExample.js b/Examples/UIExplorer/js/LayoutEventsExample.js
index 590ecb2e0..2901f6a98 100644
--- a/Examples/UIExplorer/js/LayoutEventsExample.js
+++ b/Examples/UIExplorer/js/LayoutEventsExample.js
@@ -170,7 +170,7 @@ exports.description = 'Examples that show how Layout events can be used to ' +
exports.examples = [
{
title: 'LayoutEventExample',
- render: function(): React.Element<*> {
+ render: function(): React.Element {
return ;
},
}];
diff --git a/Examples/UIExplorer/js/ListViewPagingExample.js b/Examples/UIExplorer/js/ListViewPagingExample.js
index 6a87d358c..4a50d7b25 100644
--- a/Examples/UIExplorer/js/ListViewPagingExample.js
+++ b/Examples/UIExplorer/js/ListViewPagingExample.js
@@ -142,7 +142,7 @@ class ListViewPagingExample extends React.Component {
};
}
- renderRow = (rowData: string, sectionID: string, rowID: string): React.Element<*> => {
+ renderRow = (rowData: string, sectionID: string, rowID: string): React.Element => {
return ();
};
diff --git a/Examples/UIExplorer/js/NavigationExperimental/NavigationTransitioner-AnimatedView-example.js b/Examples/UIExplorer/js/NavigationExperimental/NavigationTransitioner-AnimatedView-example.js
index 6c3334606..41d4d78d2 100644
--- a/Examples/UIExplorer/js/NavigationExperimental/NavigationTransitioner-AnimatedView-example.js
+++ b/Examples/UIExplorer/js/NavigationExperimental/NavigationTransitioner-AnimatedView-example.js
@@ -84,7 +84,7 @@ class Example extends Component {
this.state = reducer();
}
- render(): React.Element<*> {
+ render(): React.Element {
return (
{
+ render(): React.Element {
return (
> {
+ ): Array> {
return transitionProps.scenes.map((scene) => {
const sceneProps = {
...transitionProps,
@@ -152,7 +152,7 @@ class ExampleNavigator extends Component {
_renderScene(
sceneProps: NavigationSceneRendererProps,
- ): React.Element<*> {
+ ): React.Element {
return (
{
+ render(): React.Element {
const {scene, navigate} = this.props;
return (
{
+ render(): React.Element {
return (
{
+ render(): React.Element {
return (
{
+ ): React.Element {
const scenes = transitionProps.scenes.map((scene) => {
const sceneProps = {
...transitionProps,
@@ -182,7 +182,7 @@ class ExampleNavigator extends Component {
_renderScene(
sceneProps: NavigationSceneRendererProps,
- ): React.Element<*> {
+ ): React.Element {
return (
{
+ render(): React.Element {
const {scene, navigate} = this.props;
const panHandlers = NavigationPagerPanResponder.forHorizontal({
diff --git a/Examples/UIExplorer/js/NetInfoExample.js b/Examples/UIExplorer/js/NetInfoExample.js
index 0ba404ed9..e86929fc4 100644
--- a/Examples/UIExplorer/js/NetInfoExample.js
+++ b/Examples/UIExplorer/js/NetInfoExample.js
@@ -175,22 +175,22 @@ exports.examples = [
{
title: 'NetInfo.isConnected',
description: 'Asynchronously load and observe connectivity',
- render(): React.Element<*> { return ; }
+ render(): React.Element { return ; }
},
{
title: 'NetInfo.update',
description: 'Asynchronously load and observe connectionInfo',
- render(): React.Element<*> { return ; }
+ render(): React.Element { return ; }
},
{
title: 'NetInfo.updateHistory',
description: 'Observed updates to connectionInfo',
- render(): React.Element<*> { return ; }
+ render(): React.Element { return ; }
},
{
platform: 'android',
title: 'NetInfo.isConnectionExpensive (Android)',
description: 'Asynchronously check isConnectionExpensive',
- render(): React.Element<*> { return ; }
+ render(): React.Element { return ; }
},
];
diff --git a/Examples/UIExplorer/js/PickerIOSExample.js b/Examples/UIExplorer/js/PickerIOSExample.js
index 5a8bd68de..9e1b16670 100644
--- a/Examples/UIExplorer/js/PickerIOSExample.js
+++ b/Examples/UIExplorer/js/PickerIOSExample.js
@@ -147,13 +147,13 @@ exports.description = 'Render lists of selectable options with UIPickerView.';
exports.examples = [
{
title: '',
- render: function(): React.Element<*> {
+ render: function(): React.Element {
return ;
},
},
{
title: ' with custom styling',
- render: function(): React.Element<*> {
+ render: function(): React.Element {
return ;
},
}];
diff --git a/Examples/UIExplorer/js/PushNotificationIOSExample.js b/Examples/UIExplorer/js/PushNotificationIOSExample.js
index 3c65d8426..eed4c7a70 100644
--- a/Examples/UIExplorer/js/PushNotificationIOSExample.js
+++ b/Examples/UIExplorer/js/PushNotificationIOSExample.js
@@ -193,7 +193,7 @@ exports.description = 'Apple PushNotification and badge value';
exports.examples = [
{
title: 'Badge Number',
- render(): React.Element<*> {
+ render(): React.Element {
return (