@nativetail/ui 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativetail/ui",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {},
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "@hookform/resolvers": "^3.6.0",
30
30
  "@nativetail/core": "^0.0.6",
31
- "@shopify/flash-list": "^1.7.0",
31
+ "@shopify/flash-list": "^1.7.1",
32
32
  "countries-list": "^3.1.0",
33
33
  "expo-blur": "^13.0.2",
34
34
  "expo-linear-gradient": "~13.0.2",
@@ -102,6 +102,7 @@ export function InfoCard({
102
102
  containerClassname
103
103
  )}
104
104
  disabled={!onPress}
105
+ onPress={onPress}
105
106
  >
106
107
  <View className={cn("flex-row gap-2 items-center p-2", contentClassName)}>
107
108
  {renderIcon && renderIcon()}
@@ -1,14 +1,13 @@
1
1
  import { cn, Pressable, Text, View } from "@nativetail/core";
2
2
  import { memo, useCallback, useMemo, useRef, useState } from "react";
3
3
  import { Controller } from "react-hook-form";
4
- import { FlashList, FlatList } from "react-native-actions-sheet";
5
- import { Iconify } from "react-native-iconify";
4
+ import { FlashList } from "react-native-actions-sheet";
6
5
  import { BottomSheet, BottomSheetRef } from "../bottom-sheet";
7
6
  import { Input, InputProps } from "./input";
8
7
 
9
8
  import { countries, ICountry } from "countries-list";
10
- import { FloatingInput } from "./floating-input";
11
9
  import { ChevronDown } from "lucide-react-native";
10
+ import { FloatingInput } from "./floating-input";
12
11
  type CountryType = ICountry & {
13
12
  code: string;
14
13
  };