mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-14 16:39:47 +08:00
Reverted commit D4027388
Reviewed By: yungsters Differential Revision: D4027388 fbshipit-source-id: 8e3341b6f393ccf432c1a4e22a7cbf422284a06f
This commit is contained in:
committed by
Facebook Github Bot
parent
dbfd046145
commit
6ea26c01de
@@ -175,22 +175,22 @@ exports.examples = [
|
||||
{
|
||||
title: 'NetInfo.isConnected',
|
||||
description: 'Asynchronously load and observe connectivity',
|
||||
render(): React.Element<*> { return <IsConnected />; }
|
||||
render(): React.Element<any> { return <IsConnected />; }
|
||||
},
|
||||
{
|
||||
title: 'NetInfo.update',
|
||||
description: 'Asynchronously load and observe connectionInfo',
|
||||
render(): React.Element<*> { return <ConnectionInfoCurrent />; }
|
||||
render(): React.Element<any> { return <ConnectionInfoCurrent />; }
|
||||
},
|
||||
{
|
||||
title: 'NetInfo.updateHistory',
|
||||
description: 'Observed updates to connectionInfo',
|
||||
render(): React.Element<*> { return <ConnectionInfoSubscription />; }
|
||||
render(): React.Element<any> { return <ConnectionInfoSubscription />; }
|
||||
},
|
||||
{
|
||||
platform: 'android',
|
||||
title: 'NetInfo.isConnectionExpensive (Android)',
|
||||
description: 'Asynchronously check isConnectionExpensive',
|
||||
render(): React.Element<*> { return <IsConnectionExpensive />; }
|
||||
render(): React.Element<any> { return <IsConnectionExpensive />; }
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user