UNPKG

wass-rct-ui

Version:

A lightweight and customizable WASS Rct UI component library for modern web applications.

42 lines (41 loc) 1.1 kB
/** * @file wass-rct-ui * @description A reusable Title component that supports dynamic heading levels. * @author Web Apps Software Solutions * @copyright © 2024 Web Apps Software Solutions. All rights reserved. * @license MIT * @repository https://github.com/WebAppSoftNK/wass-rct-ui */ import * as React from "react"; export interface SubMenuItemProps { iconName: string; iconColor?: string; iconActiveColor?: string; textColor?: string; textActiveColor?: string; iconSize?: number; name: string; link: string; } export interface MenuItemProps { iconName: string; iconColor?: string; iconActiveColor?: string; textColor?: string; textActiveColor?: string; iconSize?: number; name: string; link?: string; subItems?: SubMenuItemProps[]; className?: string; } export interface MenuSectionProps { label: string; items: MenuItemProps[]; } export interface SidebarMenuProps { menuData: MenuSectionProps[]; className?: string; } declare const SidebarMenu: React.FC<SidebarMenuProps>; export default SidebarMenu;