UNPKG

@mui/x-tree-view

Version:

The community edition of the MUI X Tree View components.

20 lines 834 B
import * as React from 'react'; import { TreeViewCancellableEventHandler } from "../../../models/index.js"; import { TreeViewItemPlugin } from "../../models/index.js"; export declare const useSelectionItemPlugin: TreeViewItemPlugin; interface UseTreeItemRootSlotPropsFromSelection { 'aria-checked': React.AriaAttributes['aria-checked']; } interface UseTreeItemCheckboxSlotPropsFromSelection { visible?: boolean; checked?: boolean; indeterminate?: boolean; disabled?: boolean; tabIndex?: -1; onChange?: TreeViewCancellableEventHandler<React.ChangeEvent<HTMLInputElement>>; } declare module '@mui/x-tree-view/useTreeItem' { interface UseTreeItemRootSlotOwnProps extends UseTreeItemRootSlotPropsFromSelection {} interface UseTreeItemCheckboxSlotOwnProps extends UseTreeItemCheckboxSlotPropsFromSelection {} } export {};