1
This commit is contained in:
commit
8c95bbf909
126 files changed
+16922
No files matched your search
@@ -0,0 +1,27 @@
|
||||
// myBtns.stories.js
|
||||
|
||||
import myBtns from '@/components/UI/myBtns'
|
||||
|
||||
//👇 This default export determines where your story goes in the story list
|
||||
export default {
|
||||
component: myBtns,
|
||||
};
|
||||
|
||||
/*
|
||||
*👇 Render functions are a framework specific feature to allow you control on how the component renders.
|
||||
* See https://storybook.js.org/docs/vue/api/csf
|
||||
* to learn how to use render functions.
|
||||
*/
|
||||
export const FirstStory = {
|
||||
render: (args) => ({
|
||||
components: { myBtns },
|
||||
setup() {
|
||||
return { args };
|
||||
},
|
||||
template: '<myBtns v-bind="args" />',
|
||||
}),
|
||||
args: {
|
||||
label:"Сохранить",
|
||||
filled: true
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user