在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:lhhu-react开源软件地址:https://gitee.com/myLoveJ/lhhu-react开源软件介绍:lhhu-reactInstallnpm install --save lhhu-react Usageimport React from 'react'import {BaseViewComponent,LoadingDialog} from 'lhhu-react'export default class App extends BaseViewComponent { componentDidMount() { } _addDialog=()=>{ LoadingDialog.show({ loadingTitle:'加载中。。。', hitBackgroundHidden:true, loadingImage:require('./loading.gif') }) } render() { return( <div className={'fullScreen'} style={{}}> <button onClick={this._addDialog}>test button</button> <div>{this._moduleId}</div> <div>{window.__Device__}</div> <div>IS_IPHONE_X: {window.IS_IPHONE_X?1:0}</div> </div> ) }} LicenseMIT © lhhu-react 介绍
|
请发表评论