Fixed hooks issue for useNavigation + added swipeable
This commit is contained in:
@@ -3,12 +3,10 @@ import { View, Text } from "react-native";
|
||||
import { BarIndicator } from "react-native-indicators";
|
||||
import { Container, Content } from "native-base";
|
||||
|
||||
export default function LoadingDisplay({ size, count = 5 }) {
|
||||
export default function LoadingDisplay({ count = 5 }) {
|
||||
return (
|
||||
<Container>
|
||||
<Content>
|
||||
<BarIndicator size={size || "large"} count={count} />
|
||||
</Content>
|
||||
</Container>
|
||||
<View>
|
||||
<BarIndicator count={count} color="dodgerblue" />
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user