sailfork / t3code-github / apps/ mobile/ src/ components/ ui/ LoadingStrip.tsx
import { View } from "react-native";
import { Progress } from "./Progress";
export function LoadingStrip(props: { readonly progress?: number }) {
return (
<View
pointerEvents="none"
accessibilityElementsHidden
importantForAccessibility="no-hide-descendants"
className="absolute inset-x-0 top-0 z-10 h-1 overflow-hidden"
>
<Progress value={props.progress} />
</View>
);
}