UNPKG

@mui/x-tree-view

Version:

The community edition of the MUI X Tree View components.

14 lines 597 B
import * as React from 'react'; import { TreeViewCancellableEventHandler } from "../models/index.js"; export interface TreeItemLabelInputProps { value?: string; /** * Used to determine if the target of keydown or blur events is the input and prevent the event from propagating to the root. */ 'data-element'?: 'labelInput'; onChange?: React.ChangeEventHandler<HTMLInputElement>; onKeyDown?: TreeViewCancellableEventHandler<React.KeyboardEvent<HTMLInputElement>>; onBlur?: TreeViewCancellableEventHandler<React.FocusEvent<HTMLInputElement>>; autoFocus?: true; type?: 'text'; }