moved type definitions to a separate directory and fixed some documentations under utils/
This commit is contained in:
18
utils/types/hamburgerMenu.ts
Normal file
18
utils/types/hamburgerMenu.ts
Normal 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 };
|
||||
Reference in New Issue
Block a user