@cosmos.gl/graph 2.3.0 → 2.3.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,25 @@
1
+ import type { Meta } from '@storybook/html'
2
+
3
+ import { createStory, Story } from '@/graph/stories/create-story'
4
+ import { CosmosStoryProps } from './create-cosmos'
5
+ import { allShapes } from './shapes/all-shapes'
6
+
7
+ import allShapesStoryRaw from './shapes/all-shapes/index?raw'
8
+
9
+ // More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
10
+ const meta: Meta<CosmosStoryProps> = {
11
+ title: 'Examples/Shapes',
12
+ }
13
+
14
+ export const AllShapes: Story = {
15
+ ...createStory(allShapes),
16
+ name: 'All Point Shapes',
17
+ parameters: {
18
+ sourceCode: [
19
+ { name: 'Story', code: allShapesStoryRaw },
20
+ ],
21
+ },
22
+ }
23
+
24
+ // eslint-disable-next-line import/no-default-export
25
+ export default meta