UNPKG

@ariakit/react-core

Version:

Ariakit React core

23 lines (20 loc) 538 B
"use client"; import { useCompositeStoreProps } from "./B7UTNDHN.js"; import { useStore } from "./RTNCFSKZ.js"; // src/menubar/menubar-store.ts import * as Core from "@ariakit/core/menubar/menubar-store"; function useMenubarStoreProps(store, update, props) { return useCompositeStoreProps(store, update, props); } function useMenubarStore(props = {}) { const [store, update] = useStore(Core.createMenubarStore, props); return useMenubarStoreProps(store, update, props); } export { useMenubarStoreProps, useMenubarStore };