next-start-cli
Version:
This is a CLI tool to create a nextjs project and add the necessary dependencies and configurations
19 lines (14 loc) • 377 B
text/typescript
import { TlinkTarget } from "./components-props";
export interface IBaseMenuItem {
title: string;
href: string;
linkTarget?: TlinkTarget;
description?: string;
showOnlyIn?: "footer" | "navbar";
}
type ISubMenuItem = IBaseMenuItem;
export interface IMenuGroup {
groupTitle: string;
items: ISubMenuItem[];
}
export type IMenueItem = IMenuGroup | IBaseMenuItem;