Live video on the AT Protocol
at next 27 lines 646 B view raw
1import { Text, zero } from "@streamplace/components"; 2import { Pressable, View } from "react-native"; 3 4export default function (props: { onRetry: () => void }) { 5 return ( 6 <View 7 style={[ 8 zero.flex.values[1], 9 { justifyContent: "center", alignItems: "center" }, 10 ]} 11 > 12 <Text>Unable to contact server.</Text> 13 <Pressable 14 style={[ 15 zero.bg.primary[500], 16 zero.px[4], 17 zero.py[2], 18 zero.r.md, 19 zero.mt[2], 20 ]} 21 onPress={props.onRetry} 22 > 23 <Text style={[{ color: "white" }]}>Retry?</Text> 24 </Pressable> 25 </View> 26 ); 27}