import React from "react"; export interface ItemInfo { name: string; href: string; external: boolean; } export interface MenuItems extends ItemInfo { icon: string; subItems: ItemInfo[]; } export interface NavigationDrawerProps { menuItems: MenuItems[]; } export interface MenuItemProps extends ItemInfo { icon: string; collapse: boolean; active: boolean; setActive: (e: React.MouseEvent, href: string) => void; } export interface LinkInfoProps { icon?: string; collapse?: boolean; name: string; active?: boolean; children?: ItemInfo[]; } export interface SubItemProps extends LinkInfoProps { setActive: (e: React.MouseEvent | React.MouseEvent, href: string) => void; href: string; }