Init base story for carousel

This commit is contained in:
Vadim
2021-01-19 20:52:02 +03:00
parent 2ddf1ff1ae
commit 093127feb9

View File

@@ -0,0 +1,19 @@
import ImageCarousel from './ImageCarousel.svelte';
export default {
title: 'ImageCarousel',
component: ImageCarousel,
argTypes: {
title: { control: 'text' },
},
};
const Template = ({ ...args }) => ({
Component: ImageCarousel,
props: args,
});
export const Primary = Template.bind({});
Primary.args = {
title: 'This is a title'
};