We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fbfbbc commit 2ae3d18Copy full SHA for 2ae3d18
src/stories/BasicUsage/MapStyles/MapStyles.stories.ts
@@ -1,16 +1,19 @@
1
import type { Meta, StoryObj } from '@storybook/react';
2
import MapStyles from './MapStyles';
3
import { source } from 'azure-maps-control';
4
+import { Story } from '@storybook/blocks';
5
6
const meta: Meta<typeof MapStyles> = {
7
title: 'Basic Usage/Map Styles',
8
component: MapStyles,
9
parameters: {
10
layout: 'centered',
- source: `
11
+ storySource: {
12
+ source: `
13
import { AzureMap, AzureMapsProvider } from 'react-azure-maps';
14
15
const MapStyles = () => {
16
+
17
return (
18
<AzureMapsProvider>
19
<div className="defaultMap">
@@ -27,6 +30,7 @@ const MapStyles = () => {
27
30
);
28
31
};
29
32
`,
33
+ },
34
},
35
36
export default meta;
0 commit comments