('');
+
+  useEffect(() => {
+    if (entry) {
+      setEditValue(entry.value);
+      setError('');
+    }
+  }, [entry]);
+
+  if (!isOpen || !entry) return null;
+
+  const handleSave = () => {
+    try {
+      // For object/array types, validate JSON
+      if (entry.type === 'object' || entry.type === 'array') {
+        JSON.parse(editValue);
+      }
+      
+      onSave(entry.key, editValue);
+      onClose();
+    } catch (e) {
+      setError('Invalid JSON format');
+    }
+  };
+
+  const handleDelete = () => {
+    if (window.confirm(`Are you sure you want to delete "${entry.key}"?`)) {
+      onDelete(entry.key);
+      onClose();
+    }
+  };
+
+  return (
+    
+      
 e.stopPropagation()}>
+        
+          
Edit Value
+          
+        
+        
+        
+          
+            
+            
+          
+          
+          
+            
+            
+          
+          
+          
+        
+        
+        
+          
+          
+          
+        
+      
+    
+        
🔍
+        
No entries found
+        
No AsyncStorage entries match your search criteria.
+      
+            "{entry.parsedValue || entry.value}"
+          
+        );
+      case 'number':
+        return (
+          
+            {entry.parsedValue}
+          
+        );
+      case 'boolean':
+        return (
+          
+            {String(entry.parsedValue)}
+          
+        );
+      case 'object':
+        return (
+          
+            {JSON.stringify(entry.parsedValue, null, 2).substring(0, 50)}
+            {JSON.stringify(entry.parsedValue, null, 2).length > 50 ? '...' : ''}
+          
+        );
+      case 'array':
+        return (
+          
+            {JSON.stringify(entry.parsedValue, null, 2).substring(0, 50)}
+            {JSON.stringify(entry.parsedValue, null, 2).length > 50 ? '...' : ''}
+          
+        );
+      case 'null':
+        return null
;
+      default:
+        return {entry.value}
;
+    }
+  };
+
+  return (
+    
+      
+        
+          
+            
+              | Key+ | Type+ | Value+ | 
+          
+          
+            {entries.map((entry) => (
+              
+                | + +{entry.key}+ | +                  
+                    {entry.type}
+                  
++ | onEditEntry(entry)}
+                  title="Click to edit"
+                >
+                  {formatValue(entry)}
++ | 
+            ))}
+          
+        
+      
+    
+      
+        
+          
+            
+              💾
+              AsyncStorage
+            
+            
+              Inspect and manage your AsyncStorage data
+            
+          
+          
+            
+              
+              
+              
+            
+          
+        
+
+      
+        
+          
+            
+              
+              
 setSearchTerm(e.target.value)}
+                className="search-input"
+                disabled={loading}
+              />
+            
+            
+              {filteredEntries.length}
+              
+                of {entries.length} entries
+              
+            
+          
+        
+            
📱
+            
No AsyncStorage Data Found
+            
+              Your app doesn't have any AsyncStorage entries yet, or the React Native connection hasn't been established.
+            
+          
+
+      {/* Edit Modal */}
+      
 setIsEditModalOpen(false)}
+        onSave={handleSaveEntry}
+        onDelete={handleDeleteEntry}
+      />
+
+      {/* Add Modal */}
+       setIsAddModalOpen(false)}
+        onAdd={handleAddEntry}
+        existingKeys={allKeys}
+      />
+