1.1.11 • Published 5 years ago

kmk-carousel v1.1.11

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

KmkCarousel

Infinite scrolling carousel, currently in alpha

Supposedly to use the same props as Semantic-UI's card component ... kinda

How to use

  import React from "react";
  import KmkCarousel from "kmk-carousel";

  const items = [
    {
      image: "https://image.url.com",
      header: "Sample header",
      description: "Sample description",
      href: "https://your.demo.site",
      github: "https://the.github.link"
    },
    {
      image: "https://image.url.com",
      header: "Sample header",
      description: "Sample description",
            href: "https://your.demo.site",
      github: "https://the.github.link"
    },
    ...
  ]

  const someComponent = props => {
    return (
      <div >
        <KmkCarousel items={items}>
      </div>
    )
  }

Proptypes

const propTypes = {
  items: PropTypes.arrayOf(
    PropTypes.shape({
      data: PropTypes.shape({
        image: PropTypes.string,
        header: PropTypes.string,
        description: PropTypes.string,
        href: PropTypes.string,
        github: PropTypes.string
      })
    })
  )
};

Screenshot

alt text

Notes

Automatic color detection on the overlay may be in production

1.1.11

5 years ago

0.1.10

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago