([from, to], strings, round, easing)
| 233 | from + (to - from) * easing; |
| 234 | |
| 235 | const recomposeValue = ([from, to], strings, round, easing) => |
| 236 | strings.reduce((style, string, index) => { |
| 237 | const previous = index - 1; |
| 238 | const value = getCurrentValue(from[previous], to[previous], easing); |
| 239 | return style + (round && index < 4 ? Math.round(value) : value) + string; |
| 240 | }); |
| 241 | |
| 242 | const createStyles = (keyframes, easing) => |
| 243 | keyframes.reduce((styles, {property, numbers, strings, round}) => { |
no test coverage detected