So how do you do without animated anymore? #1743
Answered
by
joshuaellis
kevinRoomies
asked this question in
Support
-
Until now I was using transition as a renderprops because I didn't have to use animated.div but now I can't do that anymore, animated.div is forced on transition and I just can't use transition anymore with custom components... |
Beta Was this translation helpful? Give feedback.
Answered by
joshuaellis
Nov 9, 2021
Replies: 1 comment 7 replies
-
Hi @kevinRoomie have you got an example in a codesandbox? I can show you what I would do to rectify this! But in short, have you tried wrapping the component in import { animated } from '@react-spring/web'
const MyAnimatedComponent = animated(RegularComponent) |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
joshuaellis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @kevinRoomie have you got an example in a codesandbox? I can show you what I would do to rectify this! But in short, have you tried wrapping the component in
Animated
: