import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
import _inherits from "@babel/runtime/helpers/esm/inherits";
import React from 'react';
import { Model } from '../../types';
export var OrderItem =
/*#__PURE__*/
function (_Model) {
  _inherits(OrderItem, _Model);

  function OrderItem(id, image, description, price) {
    var _this;

    _classCallCheck(this, OrderItem);

    _this = _possibleConstructorReturn(this, _getPrototypeOf(OrderItem).call(this));
    _this.id = id;
    _this.image = image;
    _this.description = description;
    _this.price = price;
    return _this;
  }

  return OrderItem;
}(Model);
export var ListAbstract =
/*#__PURE__*/
function (_React$Component) {
  _inherits(ListAbstract, _React$Component);

  function ListAbstract() {
    _classCallCheck(this, ListAbstract);

    return _possibleConstructorReturn(this, _getPrototypeOf(ListAbstract).apply(this, arguments));
  }

  return ListAbstract;
}(React.Component);