0.0.2 • Published 6 years ago
altaloaders-npm v0.0.2
altalogy-loaders-npm
Getting Started
1) Install:
npm install altaloaders-npm
2) Import:
import AltaLoaders from 'altaloaders-npm
<AltaLoaders {...} />
3) Options:
type,size,primaryColor,secondaryColor,text,textPlace,
| Property | Values | Description |
|---|---|---|
| type | String | Display loader of current type |
| size | String | Changing size of loader |
| primaryColor | String | Change main color |
| secondaryColor | String | Change secondary color |
| text | String | Display text for loader |
| textPlace | String | Enables to select place for label |
Development
Getting Started
Prerequisites
Node.js >= 6 must be installed.
Installation
- Running
npm installin the component's root directory will install everything you need for development.
Demo Development Server
npm startwill run a development server with the component's demo app at http://localhost:3000 with hot module reloading.
Running Tests
npm testwill run the tests once.npm run test:coveragewill run the tests and produce a coverage report incoverage/.npm run test:watchwill run the tests on every change.
Building
npm run buildwill build the component for publishing to npm and also bundle the demo app.npm run cleanwill delete built resources.