Move toast showing function to helper
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import Toast from 'react-native-simple-toast'
|
||||
|
||||
export const showToast = (text) => Toast.show(
|
||||
text, Toast.SHORT, ['RCTModalHostViewController', 'UIAlertController']
|
||||
)
|
||||
Reference in New Issue
Block a user