项目
在 GitHub 查看
LucasBassetti/react-css-loaders
关于
:o: 纯 CSS 编写的 React 加载组件集。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文React CSS Loaders
A collection of pure CSS React loading components. Based on Luke Haas css-loaders project.
Contents
Getting Start
npm install react-css-loaders --save
Usage
import { BarLoader } from 'react-css-loaders';
...
<BarLoader />
...
Components
BarLoader
Usage
<BarLoader />
Properties
| Name | Type | Default |
|---|---|---|
color |
PropTypes.string |
#000 |
duration |
PropTypes.number |
1 |
size |
PropTypes.number |
11 |
BubbleLoader
Usage
<BubbleLoader />
Properties
| Name | Type | Default |
|---|---|---|
color |
PropTypes.string |
#000 |
duration |
PropTypes.number |
1.8 |
size |
PropTypes.number |
10 |
BubbleSpinLoader
Usage
<BubbleSpinLoader />
Properties
| Name | Type | Default |
|---|---|---|
color |
PropTypes.string |
#000 |
duration |
PropTypes.number |
1.3 |
size |
PropTypes.number |
20 |
CometSpinLoader
Usage
<CometSpinLoader />
Properties
| Name | Type | Default |
|---|---|---|
color |
PropTypes.string |
#000 |
duration |
PropTypes.number |
1.7 |
size |
PropTypes.number |
90 |
CylinderSpinLoader
Usage
<CylinderSpinLoader />
Properties
| Name | Type | Default |
|---|---|---|
color |
PropTypes.string |
#000 |
duration |
PropTypes.number |
1.1 |
size |
PropTypes.number |
25 |
ResizeSpinLoader
Usage
<ResizeSpinLoader />
Properties
| Name | Type | Default |
|---|---|---|
background |
PropTypes.string |
#000 |
color |
PropTypes.string |
#000 |
duration |
PropTypes.number |
2 |
size |
PropTypes.number |
11 |
RotateSpinLoader
Usage
<RotateSpinLoader />
Properties
| Name | Type | Default |
|---|---|---|
color |
PropTypes.string |
#000 |
duration |
PropTypes.number |
1.1 |
size |
PropTypes.number |
10 |
SpinLoader
Usage
<SpinLoader />
Properties
| Name | Type | Default |
|---|---|---|
background |
PropTypes.string |
#fff |
color |
PropTypes.string |
#000 |
duration |
PropTypes.number |
1.4 |
size |
PropTypes.number |
10 |
Authors
| Lucas Bassetti |
See also the list of contributors who participated in this project.
How to Contribute
Please check the contributing guide
License
MIT · Lucas Bassetti
探索相关项目
加载中…