UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

11 lines • 668 B
//#region src/base-ui/FocusScope/store.d.ts declare const getActiveScopeId: () => string | null; declare const setActiveScope: (id: string | null) => void; declare const getLastFocusedItem: (scopeId: string) => string | null; declare const setLastFocusedItem: (scopeId: string, itemId: string | null) => void; declare const registerScope: (id: string) => () => void; declare const useActiveScopeId: () => string | null; declare const useFocusScopeActive: (id: string) => boolean; //#endregion export { getActiveScopeId, getLastFocusedItem, registerScope, setActiveScope, setLastFocusedItem, useActiveScopeId, useFocusScopeActive }; //# sourceMappingURL=store.d.mts.map