0.2.3 • Published 3 years ago

solar-system-carousel v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Solar System Carousel

A unique and easy to use carousel.

Made by Hadar Harush & David Sharki.

  npm i solar-system-carousel

Alt Text

CodeSandbox playground: https://codesandbox.io/s/solar-system-carousel-yuy1l

Usage:

import { SolarSystemCarousel } from "solar-system-carousel";

function Foo() {
  return (
    <div>
    <SolarSystemCarousel images={images} centeredImage={centeredImage} />
    </div>)
}

Props:

propvalueDescriptiondefaultrequired?
imagesarray of stringsThe images that should revolve in the carousel. must have 1-12 images!an example array of 4 imagesyes
centeredImagestringThe image that should be in the middle of the carouselhead imageyes
centerWidthstringwidth of the centered image. works with any unit. e.g: centerWidth='20rem' or centerWidth='80%'.'400px'no

Hadar's email: hadarushha@gmail.com

David's email: david17895@gmail.com

David's LinkedIn Hadars's LinkedIn

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago