UNPKG

@mui/x-tree-view

Version:

The community edition of the MUI X Tree View components.

21 lines 980 B
import { MinimalTreeViewState } from "../../MinimalTreeViewStore/index.js"; export declare const focusSelectors: { /** * Gets the item that should be sequentially focusable (usually with the Tab key). * At any point in time, there is a single item that can be sequentially focused in the Tree View. * This item is the first selected item (that is both visible and navigable), if any, or the first navigable item if no item is selected. */ defaultFocusableItemId: (args_0: MinimalTreeViewState<any, any>) => any; /** * Checks whether an item is the default focusable item. */ isItemTheDefaultFocusableItem: (args_0: MinimalTreeViewState<any, any>, itemId: any) => boolean; /** * Gets the id of the item that is currently focused. */ focusedItemId: (state: MinimalTreeViewState<any, any>) => string | null; /** * Checks whether an item is focused. */ isItemFocused: (state: MinimalTreeViewState<any, any>, itemId: string) => boolean; };