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 6a3a141 commit 5264da2Copy full SHA for 5264da2
app/components/LicenseDisplay.stories.ts
@@ -0,0 +1,18 @@
1
+import type { Meta, StoryObj } from '@nuxtjs/storybook'
2
+import Component from './LicenseDisplay.vue'
3
+
4
+const meta = {
5
+ component: Component,
6
+ tags: ['autodocs'],
7
+ argTypes: {
8
+ license: {
9
+ control: { type: 'text' },
10
+ },
11
12
+} satisfies Meta<typeof Component>
13
14
+export default meta
15
+type Story = StoryObj<typeof meta>
16
17
+export const Default: Story = { args: { license: 'MIT' } }
18
+export const Invalid: Story = { args: { license: 'invalid license' } }
0 commit comments