6.0.9 • Published 5 years ago

carrousel_component_overblaster_supreme_of_the_galaxy v6.0.9

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

React component for a simple carousel

Please use npm install carousel_component_overblaster_supreme_of_the_galaxy instead, carrousel_component_overblaster_supreme_of_the_galaxy is deprecated.

####Javascript

import React, { Component } from 'react';
//Import Carousel 
import Carousel from 'carousel_component_overblaster_supreme_of_the_galaxy';
//Import Carousel's styles
import 'carousel_component_overblaster_supreme_of_the_galaxy/build/Carousel_styles.css';

export default class Content extends Component {
    render() {
        return (
            <div>
                <Carousel
                    autoSlide={true}
                    infinity={true}
                    speed={1000}
                    arrows={true}
                    dots={true}
                >
                    <div>1</div>
                    <div>2</div>
                    <div>3</div>       
                </Carousel> 
            </div>
        )
    }
}
OptionTypeDescription
autoSlideBooleanDefines if the slides should pass automaticly (Only works if infinity is true)
infinityBooleanDefines if the slides should pass in a continuous way or stopped at the edges
speedNumberDefines the speed of the autoSlide in miliseconds
arrowsBooleanDefines if the arrows should appear
dotsBooleanDefines if the dots should appear

PS: I know the name it's kind of silly, i just wanted to know how to upload to npm and help someone in the process.

6.0.9

5 years ago

6.0.8

5 years ago

6.0.7

5 years ago

6.0.6

5 years ago

6.0.5

5 years ago

6.0.4

5 years ago

6.0.3

5 years ago

6.0.2

5 years ago

6.0.1

5 years ago

6.0.0

5 years ago

5.0.2

5 years ago

5.0.1

5 years ago

5.0.0

5 years ago

4.0.0

5 years ago

3.0.0

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago