Live video on the AT Protocol
79
fork

Configure Feed

Select the types of activity you want to include in your feed.

at eli/handle-changes 27 lines 657 B view raw
1import { Eye } from "@tamagui/lucide-icons"; 2import { Text, View } from "tamagui"; 3 4export default function Viewers({ viewers }: { viewers: number }) { 5 return ( 6 <View 7 justifyContent="center" 8 flexDirection="row" 9 alignItems="center" 10 gap="$2" 11 paddingHorizontal="$2" 12 paddingVertical="$1" 13 > 14 <Eye color="#fd5050" /> 15 <Text 16 color="#fd5050" 17 textShadowColor="black" 18 textShadowOffset={{ width: -1, height: 1 }} 19 textShadowRadius={3} 20 > 21 {new Intl.NumberFormat(undefined, { notation: "compact" }).format( 22 viewers, 23 )} 24 </Text> 25 </View> 26 ); 27}