“Bereaksi indikator asli” Kode Jawaban

Bereaksi indikator aktivitas asli

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;
Alexandre Dao

Bereaksi indikator asli

import { View, ActivityIndicator } from "react-native";

function MyActivityIndicator = () => {
	return (
      	<View style={{ flex: 1, justifyContent: "center"}}>
			<ActivityIndicator size="large" color="#00ff00" />
      	</View>
    );
}

export default MyActivityIndicator;
Alexandre Dao

Jawaban yang mirip dengan “Bereaksi indikator asli”

Pertanyaan yang mirip dengan “Bereaksi indikator asli”

Lebih banyak jawaban terkait untuk “Bereaksi indikator asli” di JavaScript

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya