react native indicator
import React from 'react';
import { View, ActivityIndicator } from "react-native";
const MyActivityIndicator = () => {
return (
<View style={{ flex: 1, justifyContent: "center"}}>
//size can be "small" or "large"
<ActivityIndicator size="large" color="#00ff00" />
</View>
);
}
export default MyActivityIndicator;
4.14
9
import { View, ActivityIndicator } from "react-native";
function MyActivityIndicator = () => {
return (
<View style={{ flex: 1, justifyContent: "center"}}>
<ActivityIndicator size="large" color="#00ff00" />
</View>
);
}
export default MyActivityIndicator;
Thank you!
9
0
Are there any code examples left?
New code examples in category Javascript