1 | "use client";
|
2 |
|
3 | import * as React from 'react';
|
4 | import classNames from 'classnames';
|
5 | import { useBootstrapPrefix } from './ThemeProvider';
|
6 | import { jsx as _jsx } from "react/jsx-runtime";
|
7 | const DropdownHeader = React.forwardRef(({
|
8 | className,
|
9 | bsPrefix,
|
10 | as: Component = 'div',
|
11 | role = 'heading',
|
12 | ...props
|
13 | }, ref) => {
|
14 | bsPrefix = useBootstrapPrefix(bsPrefix, 'dropdown-header');
|
15 | return _jsx(Component, {
|
16 | ref: ref,
|
17 | className: classNames(className, bsPrefix),
|
18 | role: role,
|
19 | ...props
|
20 | });
|
21 | });
|
22 | DropdownHeader.displayName = 'DropdownHeader';
|
23 | export default DropdownHeader; |
\ | No newline at end of file |