@umituz/react-native-ai-generation-content 1.17.48 → 1.17.50

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.48",
3
+ "version": "1.17.50",
4
4
  "description": "Provider-agnostic AI generation orchestration for React Native",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -43,8 +43,12 @@ export interface PhotoUploadCardProps {
43
43
  tapToUpload: string;
44
44
  selectPhoto: string;
45
45
  change: string;
46
+ change: string;
46
47
  analyzing?: string;
47
48
  };
49
+ title?: string;
50
+ subtitle?: string;
51
+ icon?: string;
48
52
  style?: StyleProp<ViewStyle>;
49
53
  }
50
54
 
@@ -65,6 +69,9 @@ export const PhotoUploadCard: React.FC<PhotoUploadCardProps> = ({
65
69
  disabled = false,
66
70
  config = DEFAULT_CONFIG,
67
71
  translations,
72
+ title,
73
+ subtitle,
74
+ icon,
68
75
  style,
69
76
  }) => {
70
77
  const tokens = useAppDesignTokens();
@@ -223,17 +230,17 @@ export const PhotoUploadCard: React.FC<PhotoUploadCardProps> = ({
223
230
  style={styles.iconGradient}
224
231
  >
225
232
  <AtomicIcon
226
- name="camera"
233
+ name={(icon as any) || "camera"}
227
234
  size={cfg.iconSize}
228
235
  customColor={tokens.colors.primary}
229
236
  />
230
237
  </LinearGradient>
231
238
  </View>
232
239
  <AtomicText style={styles.title}>
233
- {translations.tapToUpload}
240
+ {title || translations.tapToUpload}
234
241
  </AtomicText>
235
242
  <AtomicText style={styles.subtitle}>
236
- {translations.selectPhoto}
243
+ {subtitle || translations.selectPhoto}
237
244
  </AtomicText>
238
245
  </View>
239
246
  )}
@@ -241,3 +248,4 @@ export const PhotoUploadCard: React.FC<PhotoUploadCardProps> = ({
241
248
  </View>
242
249
  );
243
250
  };
251
+