Skip to content

skyliwq/react-native-toast

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-toast

react-native version > 0.4

IOS: 基于 MBProgressHUD Android: 基于原生Toast 和 KProgressHUD

作者

QQ: 289459798 QQ群: 161263093 欢迎更多的喜欢开源的小伙伴加入

IOS效果

Android效果

目前之后上图菜单1和菜单2的效果

安装

npm intsall react-native-zzy-toast --save

react-native link

使用

import Toast from 'react-native-toast';
...
Toast.show('提示信息');

Toast.showLoading('加载中');

Toast.hide();

API

/**
 * 显示文字提示
 * @param message
 */
static show(message);

/**
 * 显示loading
 * @param message
 */
static showLoading(message);

/**
 * 隐藏提示信息
 */
static hide();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 95.5%
  • Java 2.7%
  • Other 1.8%