We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1247516 commit a7e4492Copy full SHA for a7e4492
1 file changed
packages/react/src/components/StationsMap.stories.tsx
@@ -57,6 +57,31 @@ export const DarkMode: Story = {
57
],
58
};
59
60
+export const Mini: Story = {
61
+ args: {
62
+ mapStyle: "https://demotiles.maplibre.org/style.json",
63
+ initialViewState: {
64
+ latitude: 40.6067008972168,
65
+ longitude: -74.05500030517578,
66
+ zoom: 11,
67
+ },
68
+ focusStation: "noaa/8519024",
69
+ clustering: false,
70
+ showGeolocation: false,
71
+ className: "aspect-video rounded-lg overflow-hidden",
72
73
+ parameters: {
74
+ layout: "centered",
75
76
+ decorators: [
77
+ (Story) => (
78
+ <div style={{ width: "300px", height: "200px" }}>
79
+ <Story />
80
+ </div>
81
+ ),
82
+ ],
83
+}
84
+
85
export const Loading: Story = {
86
args: {
87
mapStyle: "https://demotiles.maplibre.org/style.json",
0 commit comments