UNPKG

wass-rct-ui

Version:

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

40 lines (39 loc) 1.15 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"; import { BaseColorVariant, NavLinkType } from "../types"; export interface NavLinkProps { label: string; link: string; className?: string; type: NavLinkType; dropdownList?: NavLinkProps[]; dropdownRight?: boolean; iconName?: string; iconColor?: string; iconSize?: number; colorVariant?: BaseColorVariant; hr?: boolean; } export interface NavbarProps { logo: string; leftLinks: NavLinkProps[]; rightLinks?: NavLinkProps[]; logoWidth?: number; logoHeight?: number; navColor?: BaseColorVariant; isSideBarEnabled?: boolean; sideBarIcon?: string; sideBarIconColor?: string; sideBarIconSize?: number; toggleSidebar: (isOpen: boolean) => void; className?: string; } declare const Navbar: React.FC<NavbarProps>; export default Navbar;