import { View, StyleSheet } from "react-native"; import type { ReactNode } from "react"; import type { LucideIcon } from "../../icons"; import { ExpandableSectionHeader } from "../components/ExpandableSectionHeader"; import { GalaxyButton } from "./GalaxyButton"; // Stable constants moved to module scope to prevent re-renders [[memory:4875251]] interface ConsoleSectionProps { id: string; title: string; subtitle?: string; icon: LucideIcon; iconColor: string; iconBackgroundColor: string; onPress: () => void; children?: ReactNode; } /** * Individual console section component following composition principles. * Separates section UI rendering from business logic. */ export function ConsoleSection({ id: _id, title, subtitle, icon, iconColor, iconBackgroundColor, onPress, }: ConsoleSectionProps) { return ( ); } const styles = StyleSheet.create({ sectionCard: { marginBottom: 16, // Match ExpandableSection spacing }, sectionCardContent: { padding: 24, // Match ExpandableSection padding }, });