README
@buzuosheng/loading
React loading style Component.
Demo
https://app-demo-buzuosheng.vercel.app/loading
Installation
npm i @buzuosheng/loading
Usage
import { Loading } from "@buzuosheng/loading"
const Loading = () => {
return(
<Loading type="Oval" color="#1890ff" hegiht={40} width={40} />
);
};
All properties are optional, default:
<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 |