Skip to content

Commit 2b2288e

Browse files
author
Aurore
committed
Rename stories
1 parent 41b797c commit 2b2288e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/stories/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ import { storiesOf } from '@storybook/react';
66
import { action } from '@storybook/addon-actions';
77

88
storiesOf('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>

0 commit comments

Comments
 (0)