Access parent's delay from child dynamic variant #2106
Unanswered
jamesvclements
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to access a parent's transition delay property from a child dynamic variant?
For example, this is my component, which is nested inside a component.
The dynamic variant allows the chars to animate sequentially based on where they are in the line, word, etc.
However, I want to be able to pass
transition={{ delay: 1 }}
into the parent,<MotionText>
, so the entire animation is delayed by one second. If I usedelayChildren
, will the dynamic variants automatically add this delay in to their own? What's the best way to handle this?Beta Was this translation helpful? Give feedback.
All reactions