File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ import ReactDOM from 'react-dom'
32
32
import Slider from ' react-styled-carousel' ;
33
33
34
34
const ExampleSlider = () => (
35
- < Slider>
36
- < h1> 1 < / h1>
37
- < h1> 2 < / h1>
38
- < h1> 3 < / h1>
39
- < h1> 4 < / h1>
40
- < / Slider>
35
+ < Slider>
36
+ < h1> 1 < / h1>
37
+ < h1> 2 < / h1>
38
+ < h1> 3 < / h1>
39
+ < h1> 4 < / h1>
40
+ < / Slider>
41
41
);
42
42
43
43
ReactDOM .render (< ExampleSlider / > , document .getElementById (' root' ));
@@ -47,14 +47,14 @@ ReactDOM.render(<ExampleSlider />, document.getElementById('root'));
47
47
Props | Type | Default Value | Description
48
48
----- | ---- | ------------- | -----------
49
49
` showArrows ` | ` Boolean ` | ` true ` | If ` true ` then only Arrows of navigation will be shown
50
- ` LeftArrow ` | ` React Node ` | Default | Customised left arrow button
51
- ` RightArrow ` | ` React Node ` | Default | Customised right arrow button
50
+ ` LeftArrow ` | ` React Node ` | Default | Customized left arrow button
51
+ ` RightArrow ` | ` React Node ` | Default | Customized right arrow button
52
52
` showDots ` | ` Boolean ` | ` true ` | Show navigation or pagination dots below the slider
53
53
` Dot ` | ` React Node ` | Default | Customized pagination button (` Active slide Dot ` will get ` active ` as ` Boolean ` prop.)
54
54
` children ` | ` React Node ` | null | Cards are components which you want to show in the carousel
55
55
` cardsToShow ` | ` Number ` | Children length | How many cards to be shown for a single slide.
56
- ` afterSlide ` | ` Function ` | null | This function will be excecuted after every sliding is completed
57
- ` beforeSlide ` | ` Function ` | null | This function will be excecuted before starting every sliding
56
+ ` afterSlide ` | ` Function ` | null | This function will be executed after every sliding is completed
57
+ ` beforeSlide ` | ` Function ` | null | This function will be executed before starting every sliding
58
58
59
59
License
60
60
----
You can’t perform that action at this time.
0 commit comments