👋 react-vue-loading
homepage
$ npm install react-vue-loading --save
# or
$ yarn install react-vue-loading --save
import RVloading from 'react-vue-loading';
class Example extends Component {
render() {
return (
<div className="example">
<RVloading />
</div>
);
}
}
//mian.js
import RVloading from 'react-vue-loading';
Vue.use(RVloading);
//Example.vue
<template>
<div class="example">
<RVloading />
</div>
</template>;
属性 | 默认值 | 数据类型 |
---|---|---|
size | 24 | number string |
color | #2396fa | string |
<RVloading size='32' color='#2396fa'/>
// or
<RVloading size={32} color='red'/>
> git clone https://github.com/weilkss/react-vue-loading.git
> npm i
> npm run build