Open History to see the last commit
1import { View } from "react-native";
2import { Progress } from "./Progress";
3
4export function LoadingStrip(props: { readonly progress?: number }) {
5 return (
6 <View
7 pointerEvents="none"
8 accessibilityElementsHidden
9 importantForAccessibility="no-hide-descendants"
10 className="absolute inset-x-0 top-0 z-10 h-1 overflow-hidden"
11 >
12 <Progress value={props.progress} />
13 </View>
14 );
15}