AsyncImageResourceComposable

fun AsyncImageResourceComposable(imageResource: AsyncImageResource, modifier: Modifier = Modifier, loadingContent: @Composable BoxScope.() -> Unit = { ShimmerEffectBox(modifier = Modifier.matchParentSize()) }, errorContent: @Composable BoxScope.(Throwable) -> Unit = { Box(Modifier.matchParentSize()) { Text("Error loading image", Modifier.align(Alignment.Center)) } }, tint: Color = Colors.primary)

Composable function to display an icon using an ImageResource.