@umituz/react-native-settings 1.8.0 → 1.8.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-settings",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Settings management for React Native apps - user preferences, theme, language, notifications",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -30,6 +30,8 @@ export interface SettingItemProps {
30
30
  iconColor?: string;
31
31
  /** Custom title color */
32
32
  titleColor?: string;
33
+ /** Test ID for E2E testing */
34
+ testID?: string;
33
35
  }
34
36
 
35
37
  export const SettingItem: React.FC<SettingItemProps> = ({
@@ -43,6 +45,7 @@ export const SettingItem: React.FC<SettingItemProps> = ({
43
45
  isLast = false,
44
46
  iconColor,
45
47
  titleColor,
48
+ testID,
46
49
  }) => {
47
50
  const tokens = useAppDesignTokens();
48
51
  const colors = tokens.colors;
@@ -57,6 +60,7 @@ export const SettingItem: React.FC<SettingItemProps> = ({
57
60
  onPress={onPress}
58
61
  disabled={showSwitch}
59
62
  activeOpacity={0.7}
63
+ testID={testID}
60
64
  >
61
65
  <View style={styles.content}>
62
66
  <View