Fixed hooks issue for useNavigation + added swipeable

This commit is contained in:
Patrick Fic
2020-08-13 11:14:39 -07:00
parent 7cc384e7ff
commit 4d50906b48
12 changed files with 222 additions and 65 deletions

View File

@@ -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>
);
}