Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate combineTransition #6161

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,8 @@ export class EntryExitTransition
}

/**
* Lets you combine two layout animations into a layout transition. You can modify the behavior by chaining methods like `.delay(500)`.
*
* @param exiting - Layout animation used when components are removed from layout (eg. `FadeOut`).
* @param entering - Layout animation used when components are added to layout (eg. `FadeIn`).
* @returns A custom layout transition. You pass it to the `layout` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/layout-transitions#combine-transition
* @deprecated Please use `EntryExitTransition.entering(entering).exiting(exiting)` instead.
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/layout-transitions
*/
export function combineTransition(
exiting: BaseAnimationBuilder | typeof BaseAnimationBuilder,
Expand Down
Loading