@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
|
@@ -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
|
-
|
|
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,
|