import _extends from "@babel/runtime/helpers/esm/extends";
import React from 'react';
export default function Assets(props) {
  var id = props.id,
      className = props.className,
      children = props.children,
      timeout = props.timeout;
  var defaultKeys = ['id', 'className', 'children', 'timeout'];
  var extraKeys = Object.keys(props).filter(function (key) {
    return !defaultKeys.includes(key);
  });
  var extraProps = extraKeys.reduce(function (acc, key) {
    var _extends2;

    return _extends({}, acc, (_extends2 = {}, _extends2[key] = props[key], _extends2));
  }, {});
  return /*#__PURE__*/React.createElement("a-assets", _extends({
    id: id,
    class: className,
    timeout: timeout
  }, extraProps), children);
}