@particle-network/ui-native 0.0.25 → 0.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,7 @@ const ToastView = ({ type, text, props: toastProps })=>{
28
28
  minH: 42,
29
29
  pv: 12,
30
30
  ph: 14,
31
+ mt: 20,
31
32
  zIndex: 9999,
32
33
  style: {
33
34
  backgroundColor: bg
@@ -5,7 +5,6 @@ const toast = {
5
5
  UXToast.show({
6
6
  type: 'success',
7
7
  text1: message,
8
- topOffset: 60,
9
8
  ...options
10
9
  });
11
10
  },
@@ -13,18 +12,16 @@ const toast = {
13
12
  UXToast.show({
14
13
  type: 'error',
15
14
  text1: message,
16
- topOffset: 60,
17
15
  ...options
18
16
  });
19
17
  },
20
18
  loading: (message, options)=>{
21
- const { visibilityTime = 0, autoHide = !!visibilityTime, topOffset = 60, ...restOptions } = options ?? {};
19
+ const { visibilityTime = 0, autoHide = !!visibilityTime, ...restOptions } = options ?? {};
22
20
  UXToast.show({
23
21
  type: 'loading',
24
22
  text1: message,
25
23
  visibilityTime,
26
24
  autoHide,
27
- topOffset,
28
25
  ...restOptions
29
26
  });
30
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-network/ui-native",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "license": "MIT",
5
5
  "main": "./entry.js",
6
6
  "react-native": "./dist/index.js",