13 lines
451 B
JavaScript
13 lines
451 B
JavaScript
import React from "react";
|
|
import { View } from "react-native";
|
|
import { BarIndicator } from "react-native-indicators";
|
|
|
|
export default function LoadingDisplay({ count = 5 }) {
|
|
//TODO: This is throwing an error per expo, but it appears to be happening inside the component itself.
|
|
return (
|
|
<View style={{ flex: 1, alignContent: "center", justifyContent: "center" }}>
|
|
<BarIndicator count={count} color="dodgerblue" />
|
|
</View>
|
|
);
|
|
}
|