current position:Home>Reactnative foundation - 09 (activity indicator)

Reactnative foundation - 09 (activity indicator)

2022-01-27 03:26:00 The black cat made a strange mistake

Small circle rotating during loading :ActivityIndicator, Can pass size、color Set the size

export default class App extends Component {
  render() {
    return (
        <ActivityIndicator size="large" color="orange" />
        <View style={
   {alignItems: 'center', backgroundColor: '#ccc'}}>
           <ActivityIndicator color="red" size={28} />
           <Text style={
   {fontSize: 20}}> Loading ...</Text>

copyright notice
author[The black cat made a strange mistake],Please bring the original link to reprint, thank you.

Random recommended