"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const dropdownConstants_1 = require("./dropdownConstants");
const InternalDropdownItem_1 = require("./InternalDropdownItem");
const Divider_1 = require("../Divider");
exports.DropdownSeparator = (_a) => {
    var { className = '', 
    // eslint-disable-next-line @typescript-eslint/no-unused-vars
    ref } = _a, // Types of Ref are different for React.FC vs React.Component
    props = tslib_1.__rest(_a, ["className", "ref"]);
    return (React.createElement(dropdownConstants_1.DropdownArrowContext.Consumer, null, context => (React.createElement(InternalDropdownItem_1.InternalDropdownItem, Object.assign({}, props, { context: context, component: React.createElement(Divider_1.Divider, { component: Divider_1.DividerVariant.div }), className: className, role: "separator" })))));
};
//# sourceMappingURL=DropdownSeparator.js.map