import { StyleSheet, Text, TouchableOpacity, View } from "react-native"; import type { LucideIcon } from "../../icons"; import { ChevronDown, ChevronRight } from "../../icons"; interface ExpandableSectionHeaderProps { icon: LucideIcon; iconColor: string; iconBackgroundColor: string; title: string; subtitle: string; isExpanded: boolean; onPress: () => void; } export function ExpandableSectionHeader({ icon: Icon, iconColor, iconBackgroundColor, title, subtitle, isExpanded, onPress, }: ExpandableSectionHeaderProps) { return ( {title} {subtitle} {isExpanded ? ( ) : ( )} ); } const styles = StyleSheet.create({ button: { marginBottom: 16, }, container: { flexDirection: "row", alignItems: "flex-start", }, iconContainer: { padding: 12, borderRadius: 12, }, textContainer: { flex: 1, marginHorizontal: 16, }, title: { fontSize: 18, fontWeight: "500", color: "white", marginBottom: 4, }, subtitle: { fontSize: 16, color: "#9CA3AF", }, chevronContainer: { paddingTop: 6, }, });