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 AntdDrawer from 'antd/es/drawer';
import 'antd/es/drawer/style';

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

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

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

    _createClass(Drawer, [{
        key: 'render',
        value: function render() {
            return React.createElement(AntdDrawer, this.props);
        }
    }]);

    return Drawer;
}(Component);

export default Drawer;