mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
FIx JS story vue3
This commit is contained in:
parent
994b1e7f25
commit
04fd27ccd0
@ -1,3 +1,4 @@
|
||||
import { fn } from '@storybook/test';
|
||||
import MyButton from './Button.vue';
|
||||
|
||||
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories
|
||||
@ -9,6 +10,7 @@ export default {
|
||||
size: { control: { type: 'select' }, options: ['small', 'medium', 'large'] },
|
||||
backgroundColor: { control: 'color' },
|
||||
},
|
||||
args: { onClick: fn() },
|
||||
};
|
||||
|
||||
// More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
|
||||
|
Loading…
x
Reference in New Issue
Block a user