1.0.0 • Published 5 years ago

@auraxy/react-loading v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

@auraxy/react-loading

NPM Version Download Month gzip with dependencies: kb typescript pkg.module

pkg.module supported, which means that you can apply tree-shaking in you project

A loading component

Run Example

Your can see the usage by run the example of the module, here is the step:

  1. Clone the library git clone
  2. Go to the directory cd your-module-directory
  3. Install npm dependencies npm i(use taobao registry: npm i --registry=http://registry.npm.taobao.org)
  4. Open service npm run dev
  5. See the example(usually is http://127.0.0.1/examples/test.html) in your browser

Installation

npm i -S @auraxy/react-loading

Global name

ReactLoading

Interface

See in index.d.ts

Usage

import * as ReactLoading from '@auraxy/react-loading'

You can change the color or size of this component by css

QA

  1. Error Error: spawn node-sass ENOENT

You may need install node-sass globally, npm i -g node-sass