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/toolbar/toolbar-store.ts import * as Core from "@ariakit/core/toolbar/toolbar-store"; function useToolbarStoreProps(store, update, props) { return useCompositeStoreProps(store, update, props); } function useToolbarStore(props = {}) { const [store, update] = useStore(Core.createToolbarStore, props); return useToolbarStoreProps(store, update, props); } export { useToolbarStoreProps, useToolbarStore };