// packages/ui-native/src/components/Header.tsx // RN Header — D3RO styled screen header with LEDs // safe-area insets handled by caller (paddingTop prop or wrapper) import { View, type ViewStyle, type StyleProp } from 'react-native' import { Led } from './Led' import { PhosphorText } from './PhosphorText' import { d3roNativePalette } from '../theme' export interface HeaderProps { title: string showBorder?: boolean rightContent?: React.ReactNode paddingTop?: number style?: StyleProp } export function Header({ title, showBorder = true, rightContent, paddingTop = 0, style }: HeaderProps): React.ReactElement { return ( {title} {rightContent ?? ( )} ) }