💬 Feedback Needed: Finalizing componentAnimation
API for TypingFX
#4
mayank1513
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello TypingFX community! 👋
We're currently refining the
componentAnimation
feature in TypingFX and would greatly appreciate your insights to help shape its final API design.🧪 Current Behavior (Beta)
The
componentAnimation
prop is in beta and offers two modes:"typing"
): Assumes the component is pure and extracts its JSX for typing animations, treating it similarly to static content.{ wrapper: 'div', props: { className: 'my-wrapper' } }
, TypingFX wraps the component without extracting its JSX, applying fade-in (5s) and fade-out (3s) animations to the wrapper. This approach is beneficial for components with side effects or internal state.Currently, to customize these animations, you need to override the CSS classes:
❓ Seeking Your Feedback
We'd love to hear your thoughts on the following:
componentAnimation
prop intuitive and flexible for your use cases?Your feedback is invaluable in ensuring TypingFX meets the needs of its users. Please share your experiences, suggestions, or any challenges you've encountered with the
componentAnimation
feature.Looking forward to your insights!
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions