moved type definitions to a separate directory and fixed some documentations under utils/

This commit is contained in:
2024-11-17 18:06:59 +09:00
parent 1ab17242f7
commit 1c4947e4e3
11 changed files with 3 additions and 4 deletions

View File

@@ -0,0 +1,18 @@
/**
* Type for HamburgerMenu component
* @module utils/hamburgerMenu
*/
import type { DropDownEntry } from "#imports";
/**
* Interface for HamburgerMenu component properties
* @property {Array<DropDownEntry>} entries Array of {@link DropDownEntry} objects representing the menu items in the hamburger menu.
* @example
* <HamburgerMenu :entries="menuEntries" />
*/
interface HamburgerMenuProperty {
entries: Array<DropDownEntry>;
}
export type { HamburgerMenuProperty };