Rename JSX to JS.
This commit is contained in:
11
components/loading-display/loading-display.component.js
Normal file
11
components/loading-display/loading-display.component.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import React from "react";
|
||||
import { View } from "react-native";
|
||||
import { BarIndicator } from "react-native-indicators";
|
||||
|
||||
export default function LoadingDisplay({ count = 5 }) {
|
||||
return (
|
||||
<View style={{ flex: 1, alignContent: "center", justifyContent: "center" }}>
|
||||
<BarIndicator count={count} color="dodgerblue" />
|
||||
</View>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user