import { Text } from 'expo-dev-client-components'; import * as React from 'react'; import { View as RNView, StyleSheet } from 'react-native'; import PlatformIcon from '../../../components/PlatformIcon'; type PlatformIconProps = React.ComponentProps; type DevelopmentServerTitleProps = { title?: string; platform?: PlatformIconProps['platform']; }; export function DevelopmentServerTitle({ title, platform }: DevelopmentServerTitleProps) { return title ? ( {platform && } {title} ) : null; } const styles = StyleSheet.create({ titleContainer: { flexDirection: 'row', alignItems: 'center', marginBottom: 2, }, });