1.0.7 • Published 7 years ago

react-quotes v1.0.7

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

react-quotes

react-quotes is a dependency-free quotes carousel for React!

package build downloads minified size minzipped size

screenshot

Install

  • npm install react-quotes --save or
  • yarn add react-quotes

Props

  • animationDuration (optional)

    The duration of the sliding animation, in milliseconds. Default: 1500

  • className (optional)

    A CSS class name for the root element that contains the slider.

  • delay (optional)

    The delay before sliding to the next quote, in milliseconds. Default: 5000

  • quotes

    An array of quotes to display in the slider. Each quote should be in the format:

interface Quote {
  author: string;
  company: string;
  image: string;
  quote: string;
}
  • shuffle (optional)

    Shuffles the quotes before rendering them. Default: false

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.0

7 years ago