Skip to content

[Crane] Use AnimatedContent to transition between content states.#843

Merged
riggaroo merged 8 commits intomainfrom
riggaroo/animated-content-crane
Jun 20, 2022
Merged

[Crane] Use AnimatedContent to transition between content states.#843
riggaroo merged 8 commits intomainfrom
riggaroo/animated-content-crane

Conversation

@riggaroo riggaroo requested a review from a team as a code owner June 13, 2022 15:06
@riggaroo riggaroo requested a review from Gurupreet June 13, 2022 15:06
@riggaroo riggaroo self-assigned this Jun 13, 2022
@riggaroo riggaroo requested review from simona-anomis and removed request for Gurupreet June 20, 2022 09:18
slideOutOfContainer(
towards = direction,
animationSpec = tween(600)
) using SizeTransform(clip = false, sizeAnimationSpec = { initialSize, targetSize ->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting nit: I'd push SizeTransform into a new line and split out its params into individual rows, just for readability

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When using the notion with it can't be split onto a new line as its actually an argument

Copy link
Contributor

@simona-anomis simona-anomis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with minor nit comments, feel free to not resolve them :)

@riggaroo riggaroo merged commit 203a582 into main Jun 20, 2022
@riggaroo riggaroo deleted the riggaroo/animated-content-crane branch June 20, 2022 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants