import type { Meta, StoryObj } from '@storybook/react'
import { ISlider } from './Slider.interface'
import React from 'react'
import Slider from './Slider.component'
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
export default {
title: 'Components/Slider',
component: Slider,
tags: ['autodocs'],
argTypes: {
slidesToShow: {
control: { type: 'number' }
},
arrows: {
control: { type: 'boolean' }
},
dots: {
control: { type: 'boolean' }
}
}
} as Meta
const image = (
)
export const Simple: StoryObj = {
render: args => (
{image}
{image}
{image}
{image}
{image}
{image}
),
args: {
slidesToShow: 3,
arrows: true,
dots: true
}
}