UNPKG

react-bootstrap

Version:

Bootstrap 5 components built with React

23 lines (22 loc) 623 B
"use client"; import * as React from 'react'; import classNames from 'classnames'; import { useBootstrapPrefix } from './ThemeProvider'; import { jsx as _jsx } from "react/jsx-runtime"; const DropdownDivider = /*#__PURE__*/React.forwardRef(({ className, bsPrefix, as: Component = 'hr', role = 'separator', ...props }, ref) => { bsPrefix = useBootstrapPrefix(bsPrefix, 'dropdown-divider'); return /*#__PURE__*/_jsx(Component, { ref: ref, className: classNames(className, bsPrefix), role: role, ...props }); }); DropdownDivider.displayName = 'DropdownDivider'; export default DropdownDivider;