import * as React from 'react';
import { storiesOf } from '@storybook/react';
import { wInfo } from '@utils/wInfo';
import { Carousel, CarouselSlide } from '.';
import { CarouselInterface } from './interface';
const stories = storiesOf('Carousels/Basic', module) as any;
stories.addWithJSX(
'Custom Render',
wInfo(`
### Usage
~~~js
import Carousel, { CarouselSlide } from '.';
import CarouselInterface from './inteface'
{(props: CarouselInterface) => (
1
2
3
4
5
6
)}
~~~`)(() => (
{(props: CarouselInterface) => (
1
2
3
4
5
6
)}
))
);
stories.addWithJSX(
'Simple',
wInfo(`
### Usage
~~~js
import Carousel, { CarouselSlide } from '.';
1
2
3
4
5
6
~~~`)(() => (
1
2
3
4
5
6
))
);