1.1.7 • Published 5 years ago

xwb-loading v1.1.7

Weekly downloads
38
License
-
Repository
github
Last release
5 years ago

xwb-loading

适用于 React Vue

安装

$ npm install xwb-loading -save

React 使用

import Loading from 'xwb-loading';

class Test extends Component {
    render() {
        return (
            <div className={styles.box}>
                <Loading />
            </div>
        );
    }
}

Vue 使用

//mian.js
import Loading from 'xwb-loading/vue';
Vue.use(Loading);

//test.vue
<template>
    <div class="test">
        <Loading />
    </div>
</template>;

属性

属性类型
size24number string
color#2396fastring

示例

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

其他 React 编译

$ npm install
$ npm run build

vue git

xeb-loading/vuexeb-loading/vue

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago