Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render: function render() {
var _this = this;
var letters = this.state.letters;
return _react2["default"].createElement(
_reactMotion.TransitionSpring,
{
endValue: this.getEndValue(),
willEnter: this.willEnter,
willLeave: this.willLeave },
function (values) {
return _react2["default"].createElement(
"div",
{ className: "letters" },
Object.keys(values).map(function (letter) {
var _values$letter = values[letter];
var scale = _values$letter.scale;
var width = _values$letter.width;
var margin = _values$letter.margin;
var widthValue = Math.ceil(width.val - 0.5);
var marginValue = Math.ceil(margin.val - 0.5);