@towsila/expo-ui-library 1.0.1 → 1.0.9

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@towsila/expo-ui-library",
3
- "version": "1.0.1",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -12,17 +12,17 @@
12
12
  "access": "public"
13
13
  },
14
14
  "peerDependencies": {
15
- "@react-native-async-storage/async-storage": "^2.2.0",
15
+ "@react-native-async-storage/async-storage": "*",
16
16
  "expo": "*",
17
17
  "expo-linear-gradient": "*",
18
18
  "expo-location": "*",
19
19
  "expo-secure-store": "*",
20
- "expo-splash-screen": "^57.0.2",
20
+ "expo-splash-screen": "*",
21
21
  "react": "*",
22
22
  "react-native": "*",
23
23
  "react-native-keyboard-aware-scroll-view": "*",
24
- "react-native-reanimated": "^4.5.1",
25
- "react-native-safe-area-context": "^5.8.0",
24
+ "react-native-reanimated": "*",
25
+ "react-native-safe-area-context": "*",
26
26
  "react-native-svg": "*"
27
27
  },
28
28
  "scripts": {
@@ -78,7 +78,10 @@ export default function AccountStatusScreen({icon, title, description, primaryLa
78
78
  text={primaryLabel}
79
79
  bgColor={primaryButtonColor ?? colors.semantic.error}
80
80
  textColor={colors.text.primary}
81
- onPress={onPrimaryPress}
81
+ onPress={() => {
82
+ console.log("SharpButton pressed");
83
+ onPrimaryPress?.();
84
+ }}
82
85
  loading={loading}
83
86
  />
84
87
  </View>
@@ -109,8 +109,7 @@ const styles = StyleSheet.create({
109
109
  container: {
110
110
  flex: 1,
111
111
  paddingHorizontal: 32,
112
- paddingTop: 50,
113
- paddingBottom: 40,
112
+ paddingVertical: 60,
114
113
  },
115
114
 
116
115
  header: {
@@ -1,7 +1,7 @@
1
1
  import { Linking } from "react-native";
2
2
 
3
3
  export const sendEmail = async (email:string) => {
4
-
4
+ console.log("entered to this function")
5
5
  const url = `mailto:${email}`;
6
6
 
7
7
  const canOpen = await Linking.canOpenURL(url);