File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ import { storiesOf } from '@storybook/react';
66import { action } from '@storybook/addon-actions' ;
77
88storiesOf ( 'MapView' , module )
9- . add ( 'Simple display ' , ( ) => < MapView region = { { latitude : 48.86 , longitude : 2.34 } } /> )
10- . add ( 'Display latitude and longitude on region change ' , ( ) => (
9+ . add ( 'basic ' , ( ) => < MapView region = { { latitude : 48.86 , longitude : 2.34 } } /> )
10+ . add ( 'onRegionChangeComplete ' , ( ) => (
1111 < View >
1212 < MapView region = { { latitude : 48.86 , longitude : 2.34 } } onRegionChangeComplete = { action ( 'new coordinates' ) } />
1313 </ View >
1414 ) ) ; &
1515
16- storiesOf ( 'Marker' , module ) . add ( 'Simple display ' , ( ) => (
16+ storiesOf ( 'Marker' , module ) . add ( 'basic ' , ( ) => (
1717 < MapView region = { { latitude : 48.88 , longitude : 2.32 } } >
1818 < MapView . Marker title = "BAM" coordinate = { { latitude : 48.8828463 , longitude : 2.3229091 } } />
1919 </ MapView >
You can’t perform that action at this time.
0 commit comments