import _extends from "@babel/runtime/helpers/esm/extends";
import React from 'react';
export default function AssetItem(props) {
  var id = props.id,
      className = props.className,
      children = props.children,
      src = props.src,
      responseType = props.responseType;
  var defaultKeys = ['id', 'className', 'children', 'src', 'responseType'];
  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-asset-item", _extends({
    id: id,
    class: className,
    src: src,
    "response-type": responseType
  }, extraProps), children);
}