mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 03:50:11 +08:00
explicit type args in react-native-github
Reviewed By: vjeux Differential Revision: D3342856 fbshipit-source-id: ba5a4d5529fc9d1d1efe98cc175d718c5f044a5b
This commit is contained in:
committed by
Facebook Github Bot 9
parent
caa2baee9d
commit
ac5636dd59
@@ -198,27 +198,27 @@ exports.description = 'Interface to show iOS\' action sheets';
|
||||
exports.examples = [
|
||||
{
|
||||
title: 'Show Action Sheet',
|
||||
render(): ReactElement { return <ActionSheetExample />; }
|
||||
render(): ReactElement<any> { return <ActionSheetExample />; }
|
||||
},
|
||||
{
|
||||
title: 'Show Action Sheet with tinted buttons',
|
||||
render(): ReactElement { return <ActionSheetTintExample />; }
|
||||
render(): ReactElement<any> { return <ActionSheetTintExample />; }
|
||||
},
|
||||
{
|
||||
title: 'Show Share Action Sheet',
|
||||
render(): ReactElement {
|
||||
render(): ReactElement<any> {
|
||||
return <ShareActionSheetExample url="https://code.facebook.com" />;
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Share Local Image',
|
||||
render(): ReactElement {
|
||||
render(): ReactElement<any> {
|
||||
return <ShareActionSheetExample url="bunny.png" />;
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Share Screenshot',
|
||||
render(): ReactElement {
|
||||
render(): ReactElement<any> {
|
||||
return <ShareScreenshotExample />;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user