<div class='sourceset sourceset-common'>Common</div>

```kotlin
public object SharedContentConfig : SharedTransitionScope.SharedContentConfig
```

Default SharedContentConfig used in [SharedTransitionScope.rememberSharedContentState](/jetpack-compose/androidx.compose.animation/animation/composable-functions/SharedTransitionScope). This
default [SharedTransitionScope.SharedContentConfig](/jetpack-compose/androidx.compose.animation/animation/interfaces/SharedTransitionScope.SharedContentConfig) enables shared elements and bounds, and
keeps them enabled while the animation is in-flight. It also sets the
`alternativeTargetBoundsInTransitionScopeAfterRemoval` to null, ensuring the shared element
transition is canceled immediately if the incoming shared element is removed during the
animation.