@towsila/expo-ui-library 3.0.1 → 3.1.0
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
|
@@ -100,13 +100,14 @@ export default function OnBoarding({
|
|
|
100
100
|
textColor={colors.text.primary}
|
|
101
101
|
defaultColor={colors.semantic.border}
|
|
102
102
|
stepsLabel={stepsLabel}
|
|
103
|
+
isRTL={isRTL}
|
|
103
104
|
/>
|
|
104
105
|
</View>
|
|
105
106
|
{/* Text */}
|
|
106
107
|
<Text
|
|
107
108
|
style={[
|
|
108
109
|
styles.description,
|
|
109
|
-
{ color: colors.text.secondary,textAlign: isRTL ? "
|
|
110
|
+
{ color: colors.text.secondary,textAlign: isRTL ? "left" : "right", },
|
|
110
111
|
]}
|
|
111
112
|
>
|
|
112
113
|
{description}
|
|
@@ -9,10 +9,10 @@ type Props = {
|
|
|
9
9
|
textColor: string;
|
|
10
10
|
color?: string;
|
|
11
11
|
defaultColor:string;
|
|
12
|
+
isRTL?: boolean;
|
|
12
13
|
};
|
|
13
14
|
|
|
14
15
|
const BAR_HEIGHT = 6;
|
|
15
|
-
const {isRTL} = useLanguage();
|
|
16
16
|
export default function PageIndicator({
|
|
17
17
|
stepsLabel="Steps",
|
|
18
18
|
total = 3,
|
|
@@ -20,6 +20,7 @@ export default function PageIndicator({
|
|
|
20
20
|
textColor = "black",
|
|
21
21
|
color = "white",
|
|
22
22
|
defaultColor,
|
|
23
|
+
isRTL,
|
|
23
24
|
}: Props) {
|
|
24
25
|
return (
|
|
25
26
|
<View style={{ alignItems: isRTL ? "flex-start" : "flex-end", gap: 15, width: "100%" }}>
|