Inserting button in Tree-Widget

Hallo,

I want to use the inserting buttons in a Tree. I oriented my implementation on this example in the showcase: <INTERNAL_LINK>
At the moment I have

<Tree
	tplTreeNode={(n, chained) => {
		return {
			...chained,
			...n
		};
	}}
	root={this.rootNode}
	onToggleSelection={this.toggleSelection}
	onInsert={this.onInsertStart}
	buttonTitles={{
		top: "Insert top",
		bottom: "Insert below",
		asChild: "Insert as child"
	}}
/>

with

Tree = Selectable(Collapsible(Insertable(TreeAdapter(MinimalTree))));

But the buttons aren’t shown in the tree. What did I miss?
Another question would be, if I can set this buttons manually disabeled. If it is possible, how can I do it?

Best regards,
Nora

I think the problem lies within the MinimalTree code, could you please check whenever it extends InsertableTree or not? It would be better if you can provide the code of MinimalTree so we can take a look.

Hi,

thank you for your answer. It already helps me. If I need additional help later, I will write here again.

Best regards
Nora