@towsila/expo-ui-library 3.3.1 → 3.3.3

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.1",
3
+ "version": "3.3.3",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -3,6 +3,7 @@ import "../../utils/inputValidator/customValidator";
3
3
  import { useForgotPasswordForm } from "../../hooks/useForgotPasswordForm";
4
4
  import SharpInput from "../ui/sharpInput";
5
5
  import {Email} from "@towsila/icons";
6
+ import Input from "../ui/input";
6
7
 
7
8
 
8
9
 
@@ -42,13 +43,13 @@ export default function ForgotPwScreen({
42
43
  onBack={onBack}
43
44
  loading={form.loading}
44
45
  >
45
- <SharpInput
46
+ <Input
46
47
  value={form.values.input}
47
48
  onChangeText={(text) => form.setValue("input", text)}
48
49
  placeholder={inputPlaceholder}
49
50
  label={inputLabel}
50
51
  keyboardType="email-address"
51
- iconLeft={(color) => <Email width={18} height={18} color={color}/>}
52
+ iconLeft={"mail-outline"}
52
53
  error={form.errors.input ? t?.(form.errors.input) : ""}
53
54
  autoCapitalize="none"
54
55
  autoComplete="email"
@@ -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
  >