27 lines
629 B
JavaScript
27 lines
629 B
JavaScript
// 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
|
|
},
|
|
}; |