woi-react-components
Version:
This project requires NodeJS (version 18 or later) and NPM. [Node](http://nodejs.org/) and [NPM](https://npmjs.org/) are really easy to install. To make sure you have them available on your machine, try running the following command. ```sh $ npm -v &
34 lines (33 loc) • 900 B
TypeScript
interface MenuItemProps {
name: string;
link: string;
drop?: DropItemProps[];
}
interface DropItemProps {
name: string;
link: string;
}
export interface TopNavbarProps {
headerLogo?: any;
headerIconLink?: string;
headerLink?: string;
headerText?: string;
iconPosition?: string;
iconSize?: number;
menuItems?: MenuItemProps[];
textColor?: string;
hoverTextColor?: string;
fontSize?: number;
fontWeight?: number;
fontFamily?: string;
borderRadius?: number;
hoverUnderline?: boolean;
backgroundColor?: string;
borderColor?: string;
borderThickness?: string;
openLinkInNewTab?: boolean;
headerFunction?: () => void;
clickFunction?: () => void;
}
declare const WOITopNavbar: (props: TopNavbarProps) => import("react/jsx-runtime").JSX.Element;
export default WOITopNavbar;