Skip to content

select-text-loader is a simple loader which uses texts from an array as the loader content.

License

Notifications You must be signed in to change notification settings

aswinzz/select-text-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

select-text-loader

npm version

select-text-loader is a simple loader which uses texts from an array as the loader content.

Click here for sample usage

Install

npm i select-text-loader --save

Use

import SelectTextLoader from 'select-text-loader/dist/SelectTextLoader';

// loading : true/false whether to show the loading text or nott
// data : array of texts to be used for loading
// timeGap : time in milliseconds between each loading text
<SelectTextLoader loading={true} data={['hello','hi','loading']} timeGap={60}/>

Development

npm install
npm start

Publish

npm login
npm run publish:run
npm publish

About

select-text-loader is a simple loader which uses texts from an array as the loader content.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published