package de.mm20.launcher2.ui.component
/*

import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.requiredSize
import androidx.compose.foundation.layout.size
import androidx.compose.material.LocalContentAlpha
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.alpha
import androidx.compose.ui.unit.dp
import com.airbnb.lottie.compose.LottieAnimation
import com.airbnb.lottie.compose.LottieAnimationSpec
import com.airbnb.lottie.compose.LottieAnimationState
import com.airbnb.lottie.compose.rememberLottieAnimationState

@Composable
fun LottieIcon(
        spec: LottieAnimationSpec,
        modifier: Modifier = Modifier,
        animationState: LottieAnimationState = rememberLottieAnimationState(autoPlay = true),
) {
    LottieAnimation(
            spec = spec,
            modifier = modifier.alpha(LocalContentAlpha.current).requiredSize(24.dp),
            animationState = animationState
    )
}*/