React Native 中吐司组件react-native-easy-toast

https://github.com/crazycodeboy/react-native-easy-toast

用法:

import Toast from 'react-native-easy-toast';

在render()方法的return()中的最末尾:

<Toast ref={'toast'} position={'center'}/>

在需要吐司的地方:

this.refs.toast.show('没有更多了');