"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var factory_1 = require("../factory");
var Divider = /** @class */ (function (_super) {
    tslib_1.__extends(Divider, _super);
    function Divider() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    Divider.prototype.render = function () {
        var cx = this.props.classnames;
        var className = this.props.className;
        return (React.createElement("div", { className: cx('Divider', className) }));
    };
    Divider.defaultProps = {
        className: ''
    };
    return Divider;
}(React.Component));
exports.default = Divider;
var DividerRenderer = /** @class */ (function (_super) {
    tslib_1.__extends(DividerRenderer, _super);
    function DividerRenderer() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    DividerRenderer = tslib_1.__decorate([
        factory_1.Renderer({
            test: /(^|\/)(?:divider|hr)$/,
            name: 'divider'
        })
    ], DividerRenderer);
    return DividerRenderer;
}(Divider));
exports.DividerRenderer = DividerRenderer;
//# sourceMappingURL=./renderers/Divider.js.map
