<@UHAJKUSTU> does Slot components support containe...
# decompose
v
@Arkadii Ivanov does Slot components support container transform animation? I have a ui element which when tapped activates a slot component with a container transform animation
a
There is no special API for that. You can use whatever Compose offers, e.g. AnimatedVisibility
v
Thanks, understood So the isVisible value will be
slotComponent != null
And compose should handle the rest
a
Yeah, that'l sounds valid
If that doesn't work well when the slot is set to null, then you can also try AnimatedContent