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 AntdDescriptions from "antd/es/descriptions";
import "antd/es/descriptions/style";
var Item = AntdDescriptions.Item;

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

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

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

    _createClass(Descriptions, [{
        key: "render",
        value: function render() {
            var children = this.props.children;

            return React.createElement(
                AntdDescriptions,
                this.props,
                children
            );
        }
    }]);

    return Descriptions;
}(Component);

export default Descriptions;

Descriptions.Item = Item;