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