Open itsdouges opened 5 years ago
We can't easily compose things from className and keyframes ATM. Since this library wants to try and do things via CSS animation (over JS animation) we need to come up with a solution.
className
keyframes
API thoughts:
setChildProps({ // composable style style: prevStyle => ({ ...prevStyle }), // composable class via objects classNameStyle: prevStyle => ({ ...prevStyle }), // composable keyframes keyframes: prevKeyframes => compose => compose(prevKeyframes, newKeyframes, 'animation-name'), });
classNameStyle
emotion
Keyframes is done.
We can't easily compose things from
className
andkeyframes
ATM. Since this library wants to try and do things via CSS animation (over JS animation) we need to come up with a solution.API thoughts:
className
from API (deprecated first)classNameStyle
to APIemotion
dependency