UNPKG

mt-flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

13 lines (12 loc) 635 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SidebarItems = void 0; const jsx_runtime_1 = require("react/jsx-runtime"); const tailwind_merge_1 = require("tailwind-merge"); const __1 = require("../../"); const SidebarItems = ({ children, className, ...props }) => { const theme = (0, __1.useTheme)().theme.sidebar.items; return ((0, jsx_runtime_1.jsx)("div", { className: (0, tailwind_merge_1.twMerge)(theme, className), "data-testid": "flowbite-sidebar-items", ...props, children: children })); }; exports.SidebarItems = SidebarItems; exports.SidebarItems.displayName = 'Sidebar.Items';