"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;

exports.__esModule = true;
exports.Animation = void 0;

var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));

var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));

var _Component2 = _interopRequireDefault(require("./Component"));

var Animation = /*#__PURE__*/function (_Component) {
  (0, _inheritsLoose2.default)(Animation, _Component);

  function Animation(props) {
    return _Component.call(this, (0, _extends2.default)({}, props, {
      loop: props.loop === undefined ? props.loop : Number(props.loop)
    })) || this;
  }

  return Animation;
}(_Component2.default);

exports.Animation = Animation;