1.0.2 • Published 9 years ago

react-loader-quotes v1.0.2

Weekly downloads
4
License
ISC
Repository
github
Last release
9 years ago

React Loader Quotes

npm.io

Introduction

npm install --save react-loader-quotes
import ReactLoaderQuotes from 'react-loader-quotes';

<ReactLoaderQuotes
    loading={true}
    quotes={[`Nobody likes to wait`, `So let's make it better`, `By displaying quotes`, `While you're waiting`]}
/>

Optional properties

random: false - Display quotes in random order
speed: 1.5 - Set speed of one quote in seconds
backgroundColorLoader: 'yellow'
backgroundColorQuotes: 'black'
backgroundColorBackground: 'black'
opacityBackground: 0.5
fontSizeTitle: '18px'
colorTitle: 'white'
fontFamilyTitle: 'Arial'

Testing

npm test