why the return style destructs the custom spotlight (styles.spotlight) first.
what if I want to add animation to the spotlight? so that when it's changing/updating the size, it will show the transition of shrinking the spotlight area instead of change directly making it look like the screen is flickering
https://github.com/gilbarbara/react-joyride/blob/9acc22ef5eb77c6a077696b46fef004ebee1764c/src/components/Overlay.js#L110-L123
why the return style destructs the custom spotlight (
styles.spotlight
) first.what if I want to add animation to the spotlight? so that when it's changing/updating the size, it will show the transition of shrinking the spotlight area instead of change directly making it look like the screen is flickering