message: Checked onRest exists before calling
diff: @@ -32,7 +32,7 @@ class Motion extends React.Component {
  var progress = equal ? Math.min(item.progress + ((tick - item.tick) / 500), 1) : 0;
  var interpolators = equal ? item.interpolators : this.getInterpolators(item.style, end);
  var style = this.interpolateStyle(interpolators, end, progress);
  - if (rest && !item.rest) {
  + if (onRest && rest && !item.rest) {
  onRest(item.data, item.key);
  }
  return {key: item.key, data: item.data, style, end, interpolators, progress, tick, rest};
  