Add another overload to LottieAnimation

diff --git a/lottie-compose/src/main/java/com/airbnb/lottie/compose/LottieAnimation.kt b/lottie-compose/src/main/java/com/airbnb/lottie/compose/LottieAnimation.kt
index 9951d50..5a457bf 100644
--- a/lottie-compose/src/main/java/com/airbnb/lottie/compose/LottieAnimation.kt
+++ b/lottie-compose/src/main/java/com/airbnb/lottie/compose/LottieAnimation.kt
@@ -66,8 +66,16 @@
     modifier: Modifier = Modifier,
 ) {
     val composition = rememberLottieComposition(spec)
+    LottieAnimation(composition, animationState, modifier)
+}
 
-    LottieAnimation(composition(), animationState, modifier)
+@Composable
+fun LottieAnimation(
+    compositionResult: LottieCompositionResult,
+    animationState: LottieAnimationState = rememberLottieAnimationState(autoPlay = true),
+    modifier: Modifier = Modifier,
+) {
+    LottieAnimation(compositionResult(), animationState, modifier)
 }
 
 @Composable
diff --git a/sample-compose/src/main/java/com/airbnb/lottie/sample/compose/player/PlayerPage.kt b/sample-compose/src/main/java/com/airbnb/lottie/sample/compose/player/PlayerPage.kt
index 270cde5..27bfc84 100644
--- a/sample-compose/src/main/java/com/airbnb/lottie/sample/compose/player/PlayerPage.kt
+++ b/sample-compose/src/main/java/com/airbnb/lottie/sample/compose/player/PlayerPage.kt
@@ -144,7 +144,7 @@
                     .fillMaxWidth()
             ) {
                 LottieAnimation(
-                    compositionResult(),
+                    compositionResult,
                     animationState,
                     modifier = Modifier
                         .fillMaxSize()