UNPKG

@olleemilsson/flowbite-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"> <

16 lines (15 loc) 730 B
import { ComponentProps, ElementType, FC, PropsWithChildren } from 'react'; import type { FlowbiteColors } from '../Flowbite/FlowbiteTheme'; export interface SidebarItemProps extends PropsWithChildren<Omit<ComponentProps<'div'>, 'ref'> & Record<string, unknown>> { active?: boolean; as?: ElementType; href?: string; icon?: FC<ComponentProps<'svg'>>; label?: string; labelColor?: keyof SidebarItemLabelColors; } export interface SidebarItemLabelColors extends Pick<FlowbiteColors, 'gray'> { [key: string]: string; } declare const SidebarItem: import("react").ForwardRefExoticComponent<Pick<SidebarItemProps, keyof SidebarItemProps> & import("react").RefAttributes<Element>>; export default SidebarItem;