BrowseSourceLoadingItem.kt 784 B

12345678910111213141516171819202122232425
  1. package eu.kanade.presentation.browse.components
  2. import androidx.compose.foundation.layout.Arrangement
  3. import androidx.compose.foundation.layout.Row
  4. import androidx.compose.foundation.layout.fillMaxWidth
  5. import androidx.compose.foundation.layout.padding
  6. import androidx.compose.foundation.layout.size
  7. import androidx.compose.material3.CircularProgressIndicator
  8. import androidx.compose.runtime.Composable
  9. import androidx.compose.ui.Modifier
  10. import androidx.compose.ui.unit.dp
  11. @Composable
  12. fun BrowseSourceLoadingItem() {
  13. Row(
  14. modifier = Modifier
  15. .fillMaxWidth()
  16. .padding(vertical = 16.dp),
  17. horizontalArrangement = Arrangement.Center,
  18. ) {
  19. CircularProgressIndicator(
  20. modifier = Modifier.size(64.dp),
  21. )
  22. }
  23. }