mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-17 12:19:12 +08: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
@@ -193,7 +193,7 @@ exports.description = 'Apple PushNotification and badge value';
|
||||
exports.examples = [
|
||||
{
|
||||
title: 'Badge Number',
|
||||
render(): ReactElement<any> {
|
||||
render(): React.Element<any> {
|
||||
return (
|
||||
<View>
|
||||
<Button
|
||||
@@ -210,13 +210,13 @@ exports.examples = [
|
||||
},
|
||||
{
|
||||
title: 'Push Notifications',
|
||||
render(): ReactElement<any> {
|
||||
render(): React.Element<any> {
|
||||
return <NotificationExample />;
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Notifications Permissions',
|
||||
render(): ReactElement<any> {
|
||||
render(): React.Element<any> {
|
||||
return <NotificationPermissionExample />;
|
||||
}
|
||||
}];
|
||||
|
||||
Reference in New Issue
Block a user