"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const react_styles_1 = require("@patternfly/react-styles");
const divider_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Divider/divider"));
var DividerVariant;
(function (DividerVariant) {
    DividerVariant["hr"] = "hr";
    DividerVariant["li"] = "li";
    DividerVariant["div"] = "div";
})(DividerVariant = exports.DividerVariant || (exports.DividerVariant = {}));
exports.Divider = (_a) => {
    var { className = '', component = DividerVariant.hr, isVertical = false } = _a, props = tslib_1.__rest(_a, ["className", "component", "isVertical"]);
    const Component = component;
    return (React.createElement(Component, Object.assign({ className: react_styles_1.css(divider_1.default.divider, isVertical && divider_1.default.modifiers.vertical, className) }, (component !== 'hr' && { role: 'separator' }), props)));
};
//# sourceMappingURL=Divider.js.map