@towsila/expo-ui-library 3.3.0 → 3.3.2

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": "3.3.0",
3
+ "version": "3.3.2",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -11,6 +11,7 @@ import ScreenHeader from "../ui/PageTopBar";
11
11
  import SharpButton from "../ui/sharpButton";
12
12
  import { Fonts, textSize } from "../../tokens/typography";
13
13
  import SharpContainer from "../ui/sharpContainer";
14
+ import Google from "../../assets/icons/google.svg";
14
15
  interface LoginScreenProps {
15
16
  title?: string;
16
17
  subtitle?: string;
@@ -113,8 +114,8 @@ export default function LoginScreen({
113
114
  borderColor={colors.text.primary}
114
115
  height={50}
115
116
  >
116
- <TouchableOpacity style={{ flexDirection: "row", alignItems: "center", justifyContent: "center", gap: 10 }} onPress={onGoogleLogin}>
117
- {/* <Google width={20} height={20} /> */}
117
+ <TouchableOpacity style={{ flexDirection:isRTL ? "row":"row-reverse", alignItems: "center", justifyContent: "center", gap: 10 }} onPress={onGoogleLogin}>
118
+ <Google width={20} height={20} />
118
119
  <Text style={{
119
120
  fontSize: textSize.sm,
120
121
  fontFamily: Fonts.montserrat.semiBold,
@@ -115,6 +115,7 @@ export default function Toast({
115
115
  styles.text,
116
116
  {
117
117
  color: toastStyle.text,
118
+ textAlign: isRTL ? "left" :"right"
118
119
  },
119
120
  ]}
120
121
  >