You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to use Motion to animate the transitions of react-native components like TextInput and Pressable?
For example, lets say we have a TextInput component and a Pressablecomponent inside a <View className="flex"> container. TextInput has className="flex-grow" so when the Pressable component is hidden, its width will grow if the Pressable is removed/hidden. How can Motion be used to animate this transition?
Is it possible to use
Motion
to animate the transitions ofreact-native
components likeTextInput
andPressable
?For example, lets say we have a
TextInput
component and aPressable
component inside a<View className="flex">
container.TextInput
hasclassName="flex-grow"
so when thePressable
component is hidden, its width will grow if thePressable
is removed/hidden. How canMotion
be used to animate this transition?Tried the following
but the console is throwing a warning mesesages like:
Packages used:
@legendapp/[email protected]
[email protected]
[email protected]
[email protected]
Thanks!
The text was updated successfully, but these errors were encountered: