UNPKG

hoda-react

Version:

<div align="center"> <h1>:construction: flowbite-react (unreleased) :construction:</h1> <p> <a href="https://flowbite-react.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src=".github/assets/flowbite-react-github.png"> <

9 lines (8 loc) 527 B
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime"; import classNames from 'classnames'; import { useTheme } from '../Flowbite/ThemeContext'; import { DropdownDivider } from './DropdownDivider'; export const DropdownHeader = ({ children, className, ...props }) => { const theme = useTheme().theme.dropdown.floating.header; return (_jsxs(_Fragment, { children: [_jsx("div", { className: classNames(theme, className), ...props, children: children }), _jsx(DropdownDivider, {})] })); };