UNPKG

@mui/x-tree-view

Version:

The community edition of the MUI X Tree View components.

19 lines 655 B
import { RichTreeViewState } from "../../RichTreeViewStore/index.js"; export declare const lazyLoadingSelectors: { /** * Checks if the lazy loaded state is empty. */ isEmpty: (state: RichTreeViewState<any, any>) => boolean; /** * Checks whether an item is loading. */ isItemLoading: (state: RichTreeViewState<any, any>, itemId: string | null) => boolean; /** * Checks whether an item has errors. */ itemHasError: (state: RichTreeViewState<any, any>, itemId: string | null) => boolean; /** * Get an item error. */ itemError: (state: RichTreeViewState<any, any>, itemId: string | null) => Error | null | undefined; };