mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-26 18:53:19 +08:00
React.Element<any> » React.Element<*>
Reviewed By: yungsters Differential Revision: D4027388 fbshipit-source-id: 5bc178eab1ab72283622b4b7d418f9fd43ec0792
This commit is contained in:
committed by
Facebook Github Bot
parent
8e2d4cc680
commit
e58d17e68b
@@ -197,27 +197,27 @@ exports.description = 'Interface to show iOS\' action sheets';
|
||||
exports.examples = [
|
||||
{
|
||||
title: 'Show Action Sheet',
|
||||
render(): React.Element<any> { return <ActionSheetExample />; }
|
||||
render(): React.Element<*> { return <ActionSheetExample />; }
|
||||
},
|
||||
{
|
||||
title: 'Show Action Sheet with tinted buttons',
|
||||
render(): React.Element<any> { return <ActionSheetTintExample />; }
|
||||
render(): React.Element<*> { return <ActionSheetTintExample />; }
|
||||
},
|
||||
{
|
||||
title: 'Show Share Action Sheet',
|
||||
render(): React.Element<any> {
|
||||
render(): React.Element<*> {
|
||||
return <ShareActionSheetExample url="https://code.facebook.com" />;
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Share Local Image',
|
||||
render(): React.Element<any> {
|
||||
render(): React.Element<*> {
|
||||
return <ShareActionSheetExample url="bunny.png" />;
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Share Screenshot',
|
||||
render(): React.Element<any> {
|
||||
render(): React.Element<*> {
|
||||
return <ShareScreenshotExample />;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user