From e9e5b4f91b0a7c806ecd8f4ac5b746c91f2ea67f Mon Sep 17 00:00:00 2001 From: Andrey Kovalev Date: Tue, 7 May 2024 08:08:03 +0100 Subject: [PATCH] Update documentation/ui/transitions.md Co-authored-by: Manuel Vivo --- documentation/ui/transitions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/ui/transitions.md b/documentation/ui/transitions.md index 9845e251a..135422834 100644 --- a/documentation/ui/transitions.md +++ b/documentation/ui/transitions.md @@ -19,7 +19,7 @@ Using the provided [Child-related composables](children-view.md) you'll see no t To support shared element transition between two Child Nodes you need: -1. Use sharedElementModifier with the same key on the composable you want to connect. +1. Use the `sharedElement` Modifier with the same key on the composable you want to connect. 2. On the `Children` composable, set `withSharedElementTransition` to true and use either fader or no transition handler at all. Using a slider will make the shared element slide away with the rest of of the content.