decentraland-ui
Version:
Decentraland's UI components and styles
14 lines (13 loc) • 435 B
TypeScript
/// <reference types="react" />
import { NavbarPages } from '../Navbar.types';
export declare type MenuItemProps = {
activePage: NavbarPages | string;
section: NavbarPages;
title: React.ReactNode;
onToggleShowSubMenu: (e: React.MouseEvent, show: boolean, section?: NavbarPages) => void;
mainUrl?: string;
isMobile?: boolean;
isExtraButton?: boolean;
textColor?: string;
backgroundColor?: string;
};