mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Replace React.Element<any> and unnecessarily specific React.Element with React.MixedElement (#45923)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45923 Changelog: [Internal] Reviewed By: gkz Differential Revision: D60872182 fbshipit-source-id: b81fb43968c52cbfdb4a9fa57f1175aabc2a3939
This commit is contained in:
committed by
Facebook GitHub Bot
parent
82094dd9e3
commit
5b96e90f77
@@ -121,7 +121,7 @@ exports.description = 'Adds pull-to-refresh support to a scrollview.';
|
||||
exports.examples = [
|
||||
{
|
||||
title: 'Simple refresh',
|
||||
render: function (): React.Element<typeof RefreshControlExample> {
|
||||
render(): React.MixedElement {
|
||||
return <RefreshControlExample />;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user