@towsila/expo-ui-library 3.0.2 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@towsila/expo-ui-library",
3
- "version": "3.0.2",
3
+ "version": "3.1.0",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -100,6 +100,7 @@ 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 */}
@@ -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%" }}>