We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 329258c commit b9ba05cCopy full SHA for b9ba05c
index.d.ts
@@ -0,0 +1,18 @@
1
+import { NativeModules, ToastAndroid, Platform } from 'react-native'
2
+
3
+declare var SimpleToast: {
4
+ // Toast duration constants
5
+ SHORT: number,
6
+ LONG: number,
7
8
+ // Toast gravity constants
9
+ TOP: number,
10
+ BOTTOM: number,
11
+ CENTER: number,
12
13
+ show: (message: string, duration: number) => void,
14
15
+ showWithGravity: (message: string, duration: number, gravity: number) => void
16
+}
17
18
+export default SimpleToast
0 commit comments