mostly finished rewrite

This commit is contained in:
Violet
2024-12-18 12:31:06 -07:00
parent bab7a0ca27
commit d28c65e66b
2906 changed files with 227775 additions and 105 deletions
+23
View File
@@ -0,0 +1,23 @@
"use client";
import * as React from 'react';
import classNames from 'classnames';
import { useBootstrapPrefix } from './ThemeProvider';
import { jsx as _jsx } from "react/jsx-runtime";
const DropdownHeader = /*#__PURE__*/React.forwardRef(({
className,
bsPrefix,
as: Component = 'div',
role = 'heading',
...props
}, ref) => {
bsPrefix = useBootstrapPrefix(bsPrefix, 'dropdown-header');
return /*#__PURE__*/_jsx(Component, {
ref: ref,
className: classNames(className, bsPrefix),
role: role,
...props
});
});
DropdownHeader.displayName = 'DropdownHeader';
export default DropdownHeader;