mirror of
https://github.com/bitinflow/ui.git
synced 2026-11-01 21:29:18 +00:00
chore(release): v0.0.3
This commit is contained in:
1 parent
6f32d46437
commit
ea9f83cb7e
14 files changed
+58
-44
No files matched your search
Vendored
+2
-1
@@ -1 +1,2 @@
|
||||
export function useMenu(data: any): void;
|
||||
import { MenuOptions } from "../../types";
|
||||
export declare const useMenu: (options: MenuOptions) => void;
|
||||
Vendored
+7
-8
@@ -1,8 +1,7 @@
|
||||
import {useMenuStore} from "../stores/menu.js";
|
||||
|
||||
export const useMenu = (data) => {
|
||||
const menu = useMenuStore()
|
||||
if (data.thirdLevelLinks) {
|
||||
menu.updateThirdLevelLinks(data.thirdLevelLinks)
|
||||
}
|
||||
}
|
||||
import { useMenuStore } from "../stores/menu.mjs";
|
||||
export const useMenu = (options) => {
|
||||
const menu = useMenuStore();
|
||||
if (options.thirdLevelLinks) {
|
||||
menu.updateThirdLevelLinks(options.thirdLevelLinks);
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user