UNPKG

mui-react-sidebar

Version:

A fully customizable and theme-aware sidebar navigation component for **React** and **Material-UI (MUI)**.

25 lines (24 loc) 1.27 kB
import { ListItemButtonProps } from '@mui/material'; import { BadgeProps } from '@mui/material/Badge'; import { ListItemIconProps } from '@mui/material/ListItemIcon'; import { TooltipProps } from '@mui/material/Tooltip'; import { CustomListItemTextProps, IconProps } from './types'; interface CustomListItemIconProps extends ListItemIconProps { selected?: boolean; } export declare const StyledListItemButton: React.ComponentType<ListItemButtonProps>; export declare const StyledBadge: React.ComponentType<BadgeProps>; export declare const StyledListItemText: React.ComponentType<CustomListItemTextProps>; export declare const StyledListItemIcon: React.ComponentType<CustomListItemIconProps>; export declare const StyledExpandLessIcon: import("@emotion/styled").StyledComponent<any, {}, {}>; export declare const StyledExpandMoreIcon: import("@emotion/styled").StyledComponent<any, {}, {}>; export declare const IconComponent: ({ item, isOpen }: IconProps) => import("react/jsx-runtime").JSX.Element | null; interface Item { badge?: string | number; } interface CustomBadgeProps extends BadgeProps { item: Item; } export declare const CustomBadge: React.FC<CustomBadgeProps>; export declare const CustomTooltip: React.ComponentType<TooltipProps>; export {};