项目
在 GitHub 查看
bondz/react-epic-spinners
关于
Reusable react components for epic-spinners
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文React Epic Spinners
This library is the React implementation of Vue epic-spinners by EpicMax
Epic Spinners with Bit - Disocver, play and install spinners.

Installation
Using NPM
npm install react-epic-spinners
Or Yarn
yarn add react-epic-spinners
Demo
An online demo is available here
Usage
All components accept the following props
size[number]: (optional) specifies how large the spinner should be renderedcolor[string]: (optional) defaults to#fff. Specifies the color of the spinner.animationDelay[number]: (optional) specifies the timing of the spinner animation. Lower numbers mean the animations restart faster.className[string]: (optional) add any additional class you want to the componentstyle[object]: (optional) a react component style object to additionally style the component
Examples
import { AtomSpinner } from 'react-epic-spinners'
// In your render function or SFC return
<AtomSpinner color="red">
Components
All components are named exports of the package.
import { ... } from 'react-epic-spinners'
- AtomSpinner
- BreedingRhombusSpinner
- CirclesToRhombusesSpinner
- FingerprintSpinner
- FlowerSpinner
- FulfillingBouncingCircleSpinner
- FulfillingSquareSpinner
- HalfCircleSpinner
- HollowDotsSpinner
- IntersectingCirclesSpinner
- LoopingRhombusesSpinner
- OrbitSpinner
- PixelSpinner
- RadarSpinner
- ScalingSquaresSpinner
- SelfBuildingSquareSpinner
- SemipolarSpinner
- SpringSpinner
- SwappingSquaresSpinner
- TrinityRingsSpinner
Known Issues
Because of some bugs with flexbox on Firefox, the following components may not render properly
- ScalingSquaresSpinner
- SwappingSquaresSpinner
- TrinityRingsSpinner
If you know a fix for it, please send a PR :)
License
MIT.
探索相关项目
加载中…