select-text-loader is a simple loader which uses texts from an array as the loader content.
npm i select-text-loader --save
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}/>
npm install
npm start
npm login
npm run publish:run
npm publish