import _classCallCheck from "babel-runtime/helpers/classCallCheck";
import _createClass from "babel-runtime/helpers/createClass";
import _possibleConstructorReturn from "babel-runtime/helpers/possibleConstructorReturn";
import _inherits from "babel-runtime/helpers/inherits";
import React, { Component } from "react";
import AntdCollapse from "antd/es/collapse";
import "antd/es/collapse/style";
var Panel = AntdCollapse.Panel;

var Collapse = function (_Component) {
    _inherits(Collapse, _Component);

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

        return _possibleConstructorReturn(this, (Collapse.__proto__ || Object.getPrototypeOf(Collapse)).apply(this, arguments));
    }

    _createClass(Collapse, [{
        key: "render",
        value: function render() {
            return React.createElement(AntdCollapse, this.props);
        }
    }]);

    return Collapse;
}(Component);

export default Collapse;

Collapse.Panel = Panel;