From 946913e9faa27443e58408eb20c3432cba2846b3 Mon Sep 17 00:00:00 2001 From: Don Yu Date: Thu, 1 Dec 2016 08:57:33 -0800 Subject: [PATCH] Add in UI Explorer example for showing annotation callouts by default in Reviewed By: martinbigio Differential Revision: D4253281 fbshipit-source-id: b4bd9fedf7042d3d43d2a50bdb7474caa875781f --- Examples/UIExplorer/js/MapViewExample.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Examples/UIExplorer/js/MapViewExample.js b/Examples/UIExplorer/js/MapViewExample.js index 24374cba576..cb2f849d9a6 100644 --- a/Examples/UIExplorer/js/MapViewExample.js +++ b/Examples/UIExplorer/js/MapViewExample.js @@ -242,6 +242,7 @@ class AnnotationExample extends React.Component { return ( ; } }, + { + title: 'Show callouts by default example', + render() { + return { + alert('You Are Here'); + }}> + + + ), + }} + showsAnnotationCallouts={true} + />; + } + }, { title: 'Annotation focus example', render() {