react-reveal
react-reveal copied to clipboard
Custom `animation-timing-function` for `<Fade />` component
Is it possible to apply custom timing function? I cant find the prop related.
There is a workaround [i don't know if it helps in your case]:
- you declare a state const [x, setX] =useState()
- at the component you add <Fade duration={x}>
- use the function to update X and the react with automatically rerender it