@buzuosheng/loading
Version:
CSS laoding Component implemented by React
48 lines (33 loc) • 2.01 kB
Markdown
# @buzuosheng/loading
React loading style Component.
    
## Demo
[https://app-demo-buzuosheng.vercel.app/loading](https://app-demo-buzuosheng.vercel.app/loading)
## Installation
``` powershell
npm i @buzuosheng/loading
```
## Usage
``` React
import { Loading } from "@buzuosheng/loading"
const Loading = () => {
return(
<Loading type="Oval" color="#1890ff" hegiht={40} width={40} />
);
};
```
All properties are optional, default:
``` react
<Loading type="Oval" color="#1890ff" height={40} width={40} />
```
`type` is one of these values:
| type | svg |
| :------------: | :----------------------------------------------------------: |
| Oval |  |
| LittleCircle |  |
| HalfCircle |  |
| Audio |  |
| Rain |  |
| Stretch |  |
| Flicker |  |
| StretchFlicker |  |