Skip to content

适用于vue、react的loading谷歌加载组件,Loading Google load component for Vue and react

License

Notifications You must be signed in to change notification settings

weilkss/react-vue-loading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-vue-loading

适用于 React Vue 的 loading 组件


👋 react-vue-loading homepage

引入

$ npm install react-vue-loading --save
# or
$ yarn install react-vue-loading --save

React 使用

import RVloading from 'react-vue-loading';

class Example extends Component {
  render() {
    return (
      <div className="example">
        <RVloading />
      </div>
    );
  }
}

Vue 使用

//mian.js
import RVloading from 'react-vue-loading';
Vue.use(RVloading);

//Example.vue
<template>
  <div class="example">
    <RVloading />
  </div>
</template>;

Props

属性 默认值 数据类型
size 24 number string
color #2396fa string

示例

<RVloading size='32' color='#2396fa'/>
// or
<RVloading size={32} color='red'/>

download

> git clone https://github.com/weilkss/react-vue-loading.git
> npm i
> npm run build

About

适用于vue、react的loading谷歌加载组件,Loading Google load component for Vue and react

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published