UNPKG

@camtom/nyx-design-system

Version:

Nyx Design System - Sistema de diseño profesional para React con TypeScript, componentes accesibles y documentación completa

47 lines 1.26 kB
export interface SidebarMenuItem { id: string; label: string; icon: string; href?: string; onClick?: () => void; isActive?: boolean; badge?: { text: string; color: string; backgroundColor: string; }; tag?: { text: string; backgroundColor?: string; textColor?: string; borderColor?: string; }; isRestricted?: boolean; restrictionTooltip?: string; isPinnable?: boolean; } export interface SidebarProps { isOpen?: boolean; onToggle?: () => void; logoExpanded?: string; logoCollapsed?: string; logoAlt?: string; menuItems: SidebarMenuItem[]; countryCode?: string; organizationId?: string; allowedOrganizationIds?: string[]; onItemClick?: (itemId: string) => void; onLogoClick?: () => void; footerContent?: React.ReactNode; showPoweredBy?: boolean; poweredByLogo?: string; className?: string; enableFavorites?: boolean; maxFavorites?: number; favoritesStorageKey?: string; favoritesSectionLabel?: string; allItemsSectionLabel?: string; emptyFavoritesMessage?: string; onFavoriteToggle?: (itemId: string, isFavorite: boolean) => void; } //# sourceMappingURL=types.d.ts.map