@umituz/react-native-ai-generation-content 1.17.213 → 1.17.214

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.17.213",
3
+ "version": "1.17.214",
4
4
  "description": "Provider-agnostic AI generation orchestration for React Native",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -92,21 +92,15 @@ export const MemeGeneratorFeature: React.FC<MemeGeneratorFeatureProps> = ({
92
92
  if (state.imageUrl) {
93
93
  return (
94
94
  <GenerationResultContent
95
- imageUrl={state.imageUrl}
95
+ result={{ imageUrl: state.imageUrl }}
96
96
  onSave={handleSave}
97
- onTryAgain={reset}
98
- resultConfig={{
99
- header: {
100
- title: translations.successText || "Your meme is ready!",
101
- },
102
- actions: {
103
- save: {
104
- label: translations.saveButtonText || "Save to Gallery",
105
- },
106
- tryAgain: {
107
- label: translations.tryAnotherText || "Create Another",
108
- },
109
- },
97
+ onRetry={reset}
98
+ translations={{
99
+ share: "Share",
100
+ sharing: "Sharing...",
101
+ save: translations.saveButtonText || "Save to Gallery",
102
+ retry: translations.tryAnotherText || "Create Another",
103
+ aiGenerated: translations.successText || "Your meme is ready!",
110
104
  }}
111
105
  />
112
106
  );