【文件属性】:
文件名称:respinner:React React中的可定制SVG微调器
文件大小:375KB
文件格式:ZIP
更新时间:2021-04-29 11:36:57
react svg spinner pure-javascript loading
旋转器
对旋转器或装载机的组件起React。 每个加载程序都结合了CSS动画和将dom渲染为svg。 容易被React物控制。
您可以通过道具count (也可以是他们自己的color来更改微调框内孩子的count 。 所有这些都使用SVG构建,因此您可以轻松地通过width和height缩放它们。
例子
在demo目录中查看更多详细信息,或访问网站:
用法
npm install --save respinner
与react一起使用时,只需将其导入即可。 问题就成。
import React , { Component } from 'react'
// easily import from entry
import {
BeatLoading , BounceLoading , CircularLoading ,
ClockLoading , RotateLoad
【文件预览】:
respinner-master
----.babelrc(152B)
----docs()
--------package.json(267B)
--------index.html(3KB)
--------app.jsx(2KB)
--------public()
--------yarn.lock(6KB)
----package.json(819B)
----src()
--------index.js(535B)
--------shared()
--------components()
--------lib()
----types.d.ts(475B)
----.gitignore(54B)
----README.md(2KB)
----yarn.lock(78KB)
----.gitattributes(16B)