Open alexfauquette opened 4 months ago
Would this allow for customisation similar to what's possible with chartist.js?
To be more specific, here are 2 examples:
While being a much simpler library, the customisation options are among the greatest of any chart library out there. It would be a great addition to open up ours to such extensive customisation.
The target of this issue was smaller. The react-spring has two parts for configuration.
from
, leave
, ̀enter, and
update` ) defining what's the component style at different point of the transitionThe issue was about giving access to a single configuration object for point 1. What you're proposing would require to modify the second point
Can I get assign to this one pls
Thanks for your interest. Notice we plan to remove providers by some store, which might impact your PR
If you're looking for something that might be on a similar level of difficulties but does not imply creating a new context, you could have a look at #12356
Okay I'll wait for the update concerning the store since I was planning to modify the animation context.
I'll take a look at the other one
For now the animation speed is hardcoded. Would be nice to have a DX similar to Nivo:
A prop
motionConfig
which can contain the parameters of react-spring.Storing this config in a context to share it accross all the components
Search keywords: