Add custom dots example
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import ImageCarouselView from './ImageCarouselView.svelte';
|
||||
import ImageCarouselViewCustomDots from './ImageCarouselViewCustomDots.svelte';
|
||||
|
||||
export default {
|
||||
title: 'ImageCarousel',
|
||||
@@ -10,4 +11,12 @@ const Template = ({ ...args }) => ({
|
||||
props: args
|
||||
});
|
||||
|
||||
const TemplateCustomDots = ({ ...args }) => ({
|
||||
Component: ImageCarouselViewCustomDots,
|
||||
props: args
|
||||
});
|
||||
|
||||
export const Primary = Template.bind({});
|
||||
|
||||
export const WithCustomDots = TemplateCustomDots.bind({});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user