@beisen-phoenix/loading
TypeScript icon, indicating that this package has built-in type declarations

3.3.55 • Public • Published

加载中

@beisen-phoenix/loading

概述

页面或者数据加载动画

表示启动程序是文件或信息的载入

由以下几个子组件构成

<Loading> 组件为小太阳,页面级加载使用

<ChrysanthemumLoading> 组件为菊花,组件级加载使用

API

参数 说明 类型 默认值 是否必传
showMaskAlpha 是否展示遮罩层 boolean false

使用

  // 小太阳
  import React from 'react';
  import Loading from '@beisen-phoenix/loading';

  export default function LoadingPage(props) {
    return <Loading />
  }


  //菊花
  import React from 'react';
  import { ChrysanthemumLoading } from '@beisen-phoenix/loading';

  export default function LoadingPage(props) {
    return <ChrysanthemumLoading />
  }

Readme

Keywords

none

Package Sidebar

Install

npm i @beisen-phoenix/loading

Weekly Downloads

3

Version

3.3.55

License

ISC

Unpacked Size

131 kB

Total Files

25

Last publish

Collaborators

  • beisencorp