import { VNode } from 'lupine.web';

export type MenuItemProps = {
  icon?: string | VNode<any>;
  id: string;
  text: string; // "-" for break line
  url: string;
  js?: () => void;
  alt?: string;
  hide?: boolean;
  devAdmin?: boolean;
  indent?: number;
};

export type NestMenuItemProps = MenuItemProps & {
  items?: NestMenuItemProps[];
};
