1.1.1 • Published 1 year ago

mystic-dawn-carousel v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Mystic Dawn Carousel

A mystical dawn carousel component for React.

Installation

To install the Mystic Dawn Carousel component, you can use npm or yarn:

npm install mystic-dawn-carousel
# or
yarn add mystic-dawn-carousel

Usage

import React from 'react';
import MysticDawnCarousel from 'mystic-dawn-carousel';

function App() {
  const images = [
    'https://example.com/image1.jpg',
    'https://example.com/image2.jpg',
    'https://example.com/image3.jpg'
  ];

  return (
    <div>
      <h1>My Mystic Dawn Carousel</h1>
      <MysticDawnCarousel images={images} />
    </div>
  );
}

export default App;

Props

  • images (required): An array of image URLs to display in the carousel.
  • autoplayDelay (optional): The delay in milliseconds before transitioning to the next slide (default: 3000).
  • autoplay (optional): Whether to enable autoplay of the carousel (default: true).
  • infinite (optional): Whether to enable infinite looping of the carousel (default: true).
  • slidesToShow (optional): The number of slides to show at once (default: 1).
  • slidesToScroll (optional): The number of slides to scroll at once (default: 1).
  • showDots (optional): Whether to display navigation dots (default: true).

License

This project is licensed under the MIT License - see the LICENSE file for details.

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago