UNPKG

tailwind-sidebar

Version:

Build beautiful and responsive sidebars in seconds! **Tailwind Sidebar** is a lightweight and fully customizable sidebar component for React and Next.js projects. It comes with built-in support for **light/dark mode**, **RTL layouts**, and **easy styling

11 lines (10 loc) 358 B
import { ElementType, ReactNode } from 'react'; interface MenuItemProps { component?: ElementType; children: ReactNode; to?: string; href?: string; [key: string]: any; } declare function Links({ component: Component, children, to, href, ...props }: MenuItemProps): import("react/jsx-runtime").JSX.Element; export default Links;