@umituz/react-native-ai-generation-content 1.21.0 → 1.21.1

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.21.0",
3
+ "version": "1.21.1",
4
4
  "description": "Provider-agnostic AI generation orchestration for React Native with result preview components",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -121,7 +121,7 @@ export const MainCategoryScreen: React.FC<MainCategoryScreenProps> = ({
121
121
  <AIGenScreenHeader
122
122
  title={headerTitle || t("scenario.main_category.title")}
123
123
  description={headerDescription || t("scenario.main_category.subtitle")}
124
- onBack={onBack}
124
+ onNavigationPress={onBack}
125
125
  />
126
126
  <FlatList
127
127
  data={mainCategories}
@@ -128,7 +128,7 @@ export const SubCategoryScreen: React.FC<SubCategoryScreenProps> = ({
128
128
  <AIGenScreenHeader
129
129
  title={headerTitleKey ? t(headerTitleKey) : t("scenario.sub_category.title")}
130
130
  description={headerDescriptionKey ? t(headerDescriptionKey) : t("scenario.sub_category.subtitle")}
131
- onBack={onBack}
131
+ onNavigationPress={onBack}
132
132
  />
133
133
  <FlatList
134
134
  data={filteredSubCategories}