Giter Site home page Giter Site logo

weilkss / react-vue-loading Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 33 KB

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

Home Page: https://www.weilkss.cn/react-vue-loading

License: Apache License 2.0

JavaScript 85.76% Vue 13.80% TypeScript 0.43%
reactjs vuejs shelljs loading

react-vue-loading's Introduction

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

react-vue-loading's People

Contributors

weilkss avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.