LoadingIconButton

fun LoadingIconButton(loading: Boolean, icon: Painter, contentDescription: String, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, loadingLabel: String = "Loading")

A ThemeIconButton that swaps its icon for a spinner and ignores clicks while loading, for actions such as "Refresh providers". Screen readers hear loadingLabel as its state.