Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap theme containers in Animated.View #74

Open
willashley23 opened this issue Sep 21, 2024 · 1 comment
Open

Wrap theme containers in Animated.View #74

willashley23 opened this issue Sep 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@willashley23
Copy link

Is your feature request related to a problem? Please describe.
I want to be able to apply a loading animation to the OTP, such as a shimmer or "breathe" effect when the code is being validated. This is not possible because the exposed theme containers eg pinCodeContainerStyle and pinCodeTextStyle are not Animated.Views

Describe the solution you'd like
I think as many of these containers should be wrapped in Animated to give greater creative control to consumers

Describe alternatives you've considered
Wrapping the entire thing in an Animated.View is limiting and doesnt allow granular loading effects per cel.

@willashley23 willashley23 added the enhancement New feature or request label Sep 21, 2024
@anday013
Copy link
Owner

Hi @willashley23 . Pretty fair point. I've started working on the solution, which converts plain components to their animated version, just by passing a single prop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants