API Reference > ui-components > Tree > TreeNodeEditorProps TreeNodeEditorProps Interface Beta Properties for TreeNodeEditor component Methods Name Description onCancel(): void Callback that is called when editing is canceled. onCommit(node: TreeModelNode, newValue: string): void Callback that is called when changes are committed. Properties Name Type Description node TreeModelNode Tree node which is in editing mode. style undefined | CSSProperties Editor style. Defined in ui/components/src/ui-components/tree/controlled/component/TreeNodeEditor.tsx Line 17 Last Updated: 11 June, 2024