mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Cleanup: Prefer React.Element over React$?Element
Reviewed By: vjeux Differential Revision: D4013049 fbshipit-source-id: 18a447fdbc584418d6a51770363bcd221e7fb7dc
This commit is contained in:
committed by
Facebook Github Bot
parent
beca25083a
commit
e8198aed8d
@@ -90,7 +90,7 @@ exports.description = 'Examples that show useful methods when embedding React Na
|
||||
exports.examples = [
|
||||
{
|
||||
title: 'Updating app properties in runtime',
|
||||
render(): ReactElement<any> {
|
||||
render(): React.Element<any> {
|
||||
return (
|
||||
<AppPropertiesUpdateExample/>
|
||||
);
|
||||
@@ -98,7 +98,7 @@ exports.examples = [
|
||||
},
|
||||
{
|
||||
title: 'RCTRootView\'s size flexibility',
|
||||
render(): ReactElement<any> {
|
||||
render(): React.Element<any> {
|
||||
return (
|
||||
<RootViewSizeFlexibilityExample/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user