Skip to content

wtr7/react-loader-quotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Loader Quotes

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published