@umituz/react-native-ai-generation-content 1.12.16 → 1.12.17

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": "@umituz/react-native-ai-generation-content",
3
- "version": "1.12.16",
3
+ "version": "1.12.17",
4
4
  "description": "Provider-agnostic AI generation orchestration for React Native",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -78,4 +78,4 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  }
81
- }
81
+ }
@@ -41,6 +41,7 @@ interface CreationsGalleryScreenProps {
41
41
  readonly headerTitle?: string;
42
42
  readonly showCount?: boolean;
43
43
  readonly enableSearch?: boolean;
44
+ readonly enableFilter?: boolean;
44
45
  readonly showGalleryHeader?: boolean;
45
46
  }
46
47
 
@@ -57,6 +58,7 @@ export function CreationsGalleryScreen({
57
58
  headerTitle,
58
59
  showCount = true,
59
60
  enableSearch = true,
61
+ enableFilter = false,
60
62
  showGalleryHeader = true,
61
63
  }: CreationsGalleryScreenProps) {
62
64
  const tokens = useAppDesignTokens();
@@ -215,7 +217,7 @@ export function CreationsGalleryScreen({
215
217
  onFilterPress={() => filterSheetRef.current?.present()}
216
218
  onFavoritesPress={() => setShowOnlyFavorites(!showOnlyFavorites)}
217
219
  showOnlyFavorites={showOnlyFavorites}
218
- isFilterEnabled={config.enableFiltering ?? false}
220
+ isFilterEnabled={enableFilter}
219
221
  showCount={showCount}
220
222
  />
221
223
  ) : null