react-native-easy-toast
react-native-easy-toast copied to clipboard
A react native module to show toast like android, it works on iOS and Android.
This is not working. `toastRef.current.toast.show('Image saved', DURATION.LENGTH_SHORT);`
When using the React Navigation TabNavigator on iOS (https://reactnavigation.org/docs/navigators/tab) the tabs appear at the bottom of the screen. When the Toast appears in the default position of "bottom" the Toast...
``` return ( ) } showmytoast = () => { this.refs.toast.show("Hello world", 500) ```
Added pointerEvents to props, to make possible adding component with touchable element
我想在函数组件中使用该toast,但是报以下错误
我有一个跟页面 里边定义了 Toast 然后使用 this.subscription = DeviceEventEmitter.addListener('toastInfo', (info) => { this.refs.toast.show(info,10000) }) 定义监听。 如果在当前页面使用 DeviceEventEmitter.emit('toastInfo','通知来了') Toast 能正常显示 如果在其第n个子页面 使用DeviceEventEmitter.emit('toastInfo','通知来了') Toast就不能正常显示了, 页面跳转使用的是 react-navigation
The properties in the Demo are not in typings so it causes ERROR to show ... `Type '{ ref: (ref: Toast) => Toast; style: { backgroundColor: any; width: number; height:...
Currently in a component we can show toast only at a single position. What i wanted to do is show some toast at top and some at centre. Similarly for...