From 0e6df9093702e62f00e9227c23c6df577359c191 Mon Sep 17 00:00:00 2001 From: lukasbachbot Date: Sat, 6 Jul 2024 15:53:01 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20c9832?= =?UTF-8?q?9d7cdb7f55cd0e02905d78acf66989e4013=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 10 +++++----- ...01609.a0fef66f.js => 11f01609.2a466110.js} | 2 +- ...374a6.f99103b4.js => 19e374a6.2cbe972b.js} | 2 +- ...6e396.29275b5a.js => 1dc6e396.a7afd6ce.js} | 2 +- ...b2ebb.84ff1961.js => 2fab2ebb.c69e0eb8.js} | 2 +- ...b2bea.a980e854.js => 3f9b2bea.fa291878.js} | 2 +- ...b1e4a.31e05219.js => 533b1e4a.1fa75712.js} | 2 +- ...e1ed4.57036b3e.js => 5e3e1ed4.61bb7976.js} | 2 +- ...d149d.aa3b46fe.js => 623d149d.3899c212.js} | 2 +- ...44559.67d1b60e.js => 6bc44559.8deabbb0.js} | 2 +- ...764a7.0c9a9087.js => 6de764a7.d745cfe1.js} | 2 +- ...7e813.75fbc318.js => 6e57e813.607e76fa.js} | 2 +- ...3a53a.694abedd.js => 71c3a53a.79a434e1.js} | 2 +- ...2113b.a4d073f7.js => 7632113b.47e51fc2.js} | 2 +- ...165dd.be31d7eb.js => 7b8165dd.828ebab1.js} | 2 +- ...fa985.19a29739.js => 7cefa985.ae604439.js} | 2 +- ...f6fe7.6cf8718f.js => 827f6fe7.5a99d1b1.js} | 2 +- ...319c5.aeff8904.js => 83c319c5.5c3f6fa4.js} | 2 +- ...e9ca8.3c3ddd67.js => 8dbe9ca8.5ab579b0.js} | 2 +- ...46fa3.d07a7a59.js => 96246fa3.6fc048ab.js} | 2 +- ...9534e.a70e960a.js => a089534e.eae002e4.js} | 2 +- ...44429.c295e419.js => b8a44429.685e6f0a.js} | 2 +- ...9d313.92d0013e.js => bb69d313.9e5f0220.js} | 2 +- ...78784.23ff5790.js => bc478784.a370c3e6.js} | 2 +- assets/js/c4f5d8e4.946e4cb2.js | 1 + assets/js/c4f5d8e4.ec991eb5.js | 1 - ...3be66.07f5dc9f.js => c5b3be66.c76b3e56.js} | 2 +- ...f2ee5.1e841a35.js => c8df2ee5.9e96eaf6.js} | 2 +- ...9a0d6.37c2105b.js => c999a0d6.2b478ccf.js} | 2 +- ...41396.740ddc20.js => ce941396.58fe9a49.js} | 2 +- ...b961b.cf5d23a4.js => cfdb961b.aa17bccf.js} | 2 +- ...a98ab.c27b35da.js => e0ca98ab.f79151d7.js} | 2 +- ...4c571.f6f50ee3.js => e2f4c571.c44fba72.js} | 2 +- ...3444b.9bbefcc6.js => e863444b.78c2b007.js} | 2 +- ...6df71.1325c43b.js => f0d6df71.b5a345dc.js} | 2 +- ...ebfbf.9b1a420a.js => f6aebfbf.cb6de4d8.js} | 2 +- ...733c7.978f2ebc.js => fb7733c7.4bc03ffa.js} | 2 +- ...864a1.84a91181.js => fea864a1.e32758e4.js} | 2 +- .../js/{main.bc56b006.js => main.344ddd14.js} | 4 ++-- ...CENSE.txt => main.344ddd14.js.LICENSE.txt} | 0 ...n.81ccd598.js => runtime~main.c3136db6.js} | 2 +- .../classes/StaticTreeDataProvider/index.html | 10 +++++----- docs/api/enums/InteractionMode/index.html | 10 +++++----- docs/api/index.html | 10 +++++----- .../AbstractDraggingPosition/index.html | 10 +++++----- .../ControlledTreeEnvironmentProps/index.html | 12 +++++------ .../DragAndDropContextProps/index.html | 10 +++++----- .../DraggingPositionBetweenItems/index.html | 10 +++++----- .../DraggingPositionItem/index.html | 10 +++++----- .../DraggingPositionRoot/index.html | 10 +++++----- .../interfaces/ExplicitDataSource/index.html | 10 +++++----- .../interfaces/ImplicitDataSource/index.html | 10 +++++----- .../interfaces/InteractionManager/index.html | 10 +++++----- .../interfaces/KeyboardBindings/index.html | 10 +++++----- docs/api/interfaces/LinearItem/index.html | 10 +++++----- .../api/interfaces/LiveDescriptors/index.html | 20 +++++++++---------- .../interfaces/TreeCapabilities/index.html | 12 +++++------ .../interfaces/TreeChangeActions/index.html | 10 +++++----- .../interfaces/TreeChangeHandlers/index.html | 10 +++++----- .../interfaces/TreeConfiguration/index.html | 10 +++++----- .../interfaces/TreeContextProps/index.html | 10 +++++----- .../interfaces/TreeDataProvider/index.html | 10 +++++----- .../TreeEnvironmentChangeActions/index.html | 10 +++++----- .../TreeEnvironmentConfiguration/index.html | 12 +++++------ .../TreeEnvironmentContextProps/index.html | 12 +++++------ .../interfaces/TreeEnvironmentRef/index.html | 12 +++++------ .../api/interfaces/TreeInformation/index.html | 10 +++++----- docs/api/interfaces/TreeItem/index.html | 10 +++++----- .../api/interfaces/TreeItemActions/index.html | 10 +++++----- .../TreeItemRenderContext/index.html | 10 +++++----- .../interfaces/TreeItemRenderFlags/index.html | 10 +++++----- docs/api/interfaces/TreePosition/index.html | 10 +++++----- docs/api/interfaces/TreeProps/index.html | 10 +++++----- docs/api/interfaces/TreeRef/index.html | 10 +++++----- .../api/interfaces/TreeRenderProps/index.html | 10 +++++----- docs/api/interfaces/TreeViewState/index.html | 10 +++++----- .../index.html | 12 +++++------ docs/api/modules/index.html | 10 +++++----- docs/changelog/index.html | 10 +++++----- docs/faq/index.html | 10 +++++----- docs/getstarted/index.html | 10 +++++----- docs/guides/accessibility/index.html | 10 +++++----- docs/guides/autodemo/index.html | 10 +++++----- docs/guides/blueprintjs/index.html | 10 +++++----- docs/guides/controlled-environment/index.html | 10 +++++----- docs/guides/custom-data-provider/index.html | 10 +++++----- docs/guides/drag-and-drop/index.html | 10 +++++----- docs/guides/interaction-modes/index.html | 10 +++++----- docs/guides/keyboard/index.html | 10 +++++----- docs/guides/multiple-trees/index.html | 10 +++++----- docs/guides/refs/index.html | 10 +++++----- docs/guides/renaming/index.html | 10 +++++----- docs/guides/rendering/index.html | 10 +++++----- docs/guides/search/index.html | 10 +++++----- docs/guides/static-data-provider/index.html | 10 +++++----- docs/guides/styling/index.html | 10 +++++----- .../uncontrolled-environment/index.html | 10 +++++----- docs/guides/viewstate/index.html | 10 +++++----- .../ControlledTreeEnvironment/index.html | 10 +++++----- docs/react/Tree/index.html | 10 +++++----- .../UncontrolledTreeEnvironment/index.html | 10 +++++----- index.html | 10 +++++----- markdown-page/index.html | 10 +++++----- storybook/project.json | 2 +- 104 files changed, 366 insertions(+), 366 deletions(-) rename assets/js/{11f01609.a0fef66f.js => 11f01609.2a466110.js} (94%) rename assets/js/{19e374a6.f99103b4.js => 19e374a6.2cbe972b.js} (96%) rename assets/js/{1dc6e396.29275b5a.js => 1dc6e396.a7afd6ce.js} (95%) rename assets/js/{2fab2ebb.84ff1961.js => 2fab2ebb.c69e0eb8.js} (96%) rename assets/js/{3f9b2bea.a980e854.js => 3f9b2bea.fa291878.js} (97%) rename assets/js/{533b1e4a.31e05219.js => 533b1e4a.1fa75712.js} (97%) rename assets/js/{5e3e1ed4.57036b3e.js => 5e3e1ed4.61bb7976.js} (96%) rename assets/js/{623d149d.aa3b46fe.js => 623d149d.3899c212.js} (94%) rename assets/js/{6bc44559.67d1b60e.js => 6bc44559.8deabbb0.js} (95%) rename assets/js/{6de764a7.0c9a9087.js => 6de764a7.d745cfe1.js} (95%) rename assets/js/{6e57e813.75fbc318.js => 6e57e813.607e76fa.js} (95%) rename assets/js/{71c3a53a.694abedd.js => 71c3a53a.79a434e1.js} (90%) rename assets/js/{7632113b.a4d073f7.js => 7632113b.47e51fc2.js} (93%) rename assets/js/{7b8165dd.be31d7eb.js => 7b8165dd.828ebab1.js} (98%) rename assets/js/{7cefa985.19a29739.js => 7cefa985.ae604439.js} (96%) rename assets/js/{827f6fe7.6cf8718f.js => 827f6fe7.5a99d1b1.js} (89%) rename assets/js/{83c319c5.aeff8904.js => 83c319c5.5c3f6fa4.js} (82%) rename assets/js/{8dbe9ca8.3c3ddd67.js => 8dbe9ca8.5ab579b0.js} (87%) rename assets/js/{96246fa3.d07a7a59.js => 96246fa3.6fc048ab.js} (96%) rename assets/js/{a089534e.a70e960a.js => a089534e.eae002e4.js} (96%) rename assets/js/{b8a44429.c295e419.js => b8a44429.685e6f0a.js} (98%) rename assets/js/{bb69d313.92d0013e.js => bb69d313.9e5f0220.js} (95%) rename assets/js/{bc478784.23ff5790.js => bc478784.a370c3e6.js} (78%) create mode 100644 assets/js/c4f5d8e4.946e4cb2.js delete mode 100644 assets/js/c4f5d8e4.ec991eb5.js rename assets/js/{c5b3be66.07f5dc9f.js => c5b3be66.c76b3e56.js} (98%) rename assets/js/{c8df2ee5.1e841a35.js => c8df2ee5.9e96eaf6.js} (97%) rename assets/js/{c999a0d6.37c2105b.js => c999a0d6.2b478ccf.js} (97%) rename assets/js/{ce941396.740ddc20.js => ce941396.58fe9a49.js} (92%) rename assets/js/{cfdb961b.cf5d23a4.js => cfdb961b.aa17bccf.js} (92%) rename assets/js/{e0ca98ab.c27b35da.js => e0ca98ab.f79151d7.js} (83%) rename assets/js/{e2f4c571.f6f50ee3.js => e2f4c571.c44fba72.js} (98%) rename assets/js/{e863444b.9bbefcc6.js => e863444b.78c2b007.js} (96%) rename assets/js/{f0d6df71.1325c43b.js => f0d6df71.b5a345dc.js} (92%) rename assets/js/{f6aebfbf.9b1a420a.js => f6aebfbf.cb6de4d8.js} (96%) rename assets/js/{fb7733c7.978f2ebc.js => fb7733c7.4bc03ffa.js} (96%) rename assets/js/{fea864a1.84a91181.js => fea864a1.e32758e4.js} (96%) rename assets/js/{main.bc56b006.js => main.344ddd14.js} (97%) rename assets/js/{main.bc56b006.js.LICENSE.txt => main.344ddd14.js.LICENSE.txt} (100%) rename assets/js/{runtime~main.81ccd598.js => runtime~main.c3136db6.js} (80%) diff --git a/404.html b/404.html index 7539b3f85..2fc1efa24 100644 --- a/404.html +++ b/404.html @@ -4,13 +4,13 @@ Page Not Found | React Complex Tree - - + +
-
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- - +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

+ + \ No newline at end of file diff --git a/assets/js/11f01609.a0fef66f.js b/assets/js/11f01609.2a466110.js similarity index 94% rename from assets/js/11f01609.a0fef66f.js rename to assets/js/11f01609.2a466110.js index 2a0e8d048..9d91f364d 100644 --- a/assets/js/11f01609.a0fef66f.js +++ b/assets/js/11f01609.2a466110.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4658],{4675:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>p,toc:()=>o});var n=a(7896),r=(a(2784),a(876));const i={id:"DragAndDropContextProps",title:"Interface: DragAndDropContextProps",sidebar_label:"DragAndDropContextProps",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/DragAndDropContextProps",id:"api/interfaces/DragAndDropContextProps",title:"Interface: DragAndDropContextProps",description:"Type parameters",source:"@site/docs/api/interfaces/DragAndDropContextProps.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/DragAndDropContextProps",permalink:"/docs/api/interfaces/DragAndDropContextProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DragAndDropContextProps",title:"Interface: DragAndDropContextProps",sidebar_label:"DragAndDropContextProps",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"ControlledTreeEnvironmentProps",permalink:"/docs/api/interfaces/ControlledTreeEnvironmentProps"},next:{title:"DraggingPositionBetweenItems",permalink:"/docs/api/interfaces/DraggingPositionBetweenItems"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Properties",id:"properties",level:2},{value:"abortProgrammaticDrag",id:"abortprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"completeProgrammaticDrag",id:"completeprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"draggingItems",id:"draggingitems",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"draggingPosition",id:"draggingposition",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"isProgrammaticallyDragging",id:"isprogrammaticallydragging",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"itemHeight",id:"itemheight",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"linearItems",id:"linearitems",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"onDragOverTreeHandler",id:"ondragovertreehandler",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-7",level:4},{value:"onStartDraggingItems",id:"onstartdraggingitems",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-8",level:4},{value:"programmaticDragDown",id:"programmaticdragdown",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-9",level:4},{value:"programmaticDragUp",id:"programmaticdragup",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Returns",id:"returns-5",level:5},{value:"Defined in",id:"defined-in-10",level:4},{value:"startProgrammaticDrag",id:"startprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Returns",id:"returns-6",level:5},{value:"Defined in",id:"defined-in-11",level:4},{value:"viableDragPositions",id:"viabledragpositions",level:3},{value:"Index signature",id:"index-signature",level:4},{value:"Defined in",id:"defined-in-12",level:4}],m={toc:o};function s(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"abortprogrammaticdrag"},"abortProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"abortProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L319"},"types.ts:319")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"completeprogrammaticdrag"},"completeProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"completeProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L320"},"types.ts:320")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"draggingitems"},"draggingItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"draggingItems"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[]"),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L315"},"types.ts:315")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"draggingposition"},"draggingPosition"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L323"},"types.ts:323")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isprogrammaticallydragging"},"isProgrammaticallyDragging"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isProgrammaticallyDragging"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L317"},"types.ts:317")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"itemheight"},"itemHeight"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"itemHeight"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L316"},"types.ts:316")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"linearitems"},"linearItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"linearItems"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }[]"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L325"},"types.ts:325")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondragovertreehandler"},"onDragOverTreeHandler"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"onDragOverTreeHandler"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"e"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"DragEvent"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"containerRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"MutableRefObject"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLElement"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"e"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"containerRef"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"e")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"DragEvent"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"containerRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"MutableRefObject"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLElement"),">")))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L326"},"types.ts:326")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onstartdraggingitems"},"onStartDraggingItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"onStartDraggingItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L314"},"types.ts:314")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"programmaticdragdown"},"programmaticDragDown"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"programmaticDragDown"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L322"},"types.ts:322")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"programmaticdragup"},"programmaticDragUp"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"programmaticDragUp"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L321"},"types.ts:321")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startprogrammaticdrag"},"startProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"startProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L318"},"types.ts:318")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"viabledragpositions"},"viableDragPositions"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"viableDragPositions"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Object")),(0,r.kt)("h4",{id:"index-signature"},"Index signature"),(0,r.kt)("p",null,"\u25aa ","[treeId: ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"]",": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),"[]"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L324"},"types.ts:324")))}s.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>m,kt:()=>c});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var d=n.createContext({}),o=function(e){var t=n.useContext(d),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},m=function(e){var t=o(e.components);return n.createElement(d.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},k=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=p(e,["components","mdxType","originalType","parentName"]),k=o(a),c=r,g=k["".concat(d,".").concat(c)]||k[c]||s[c]||i;return a?n.createElement(g,l(l({ref:t},m),{},{components:a})):n.createElement(g,l({ref:t},m))}));function c(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=k;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var o=2;o{a.r(t),a.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>p,toc:()=>o});var n=a(7896),r=(a(2784),a(876));const i={id:"DragAndDropContextProps",title:"Interface: DragAndDropContextProps",sidebar_label:"DragAndDropContextProps",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/DragAndDropContextProps",id:"api/interfaces/DragAndDropContextProps",title:"Interface: DragAndDropContextProps",description:"Type parameters",source:"@site/docs/api/interfaces/DragAndDropContextProps.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/DragAndDropContextProps",permalink:"/docs/api/interfaces/DragAndDropContextProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DragAndDropContextProps",title:"Interface: DragAndDropContextProps",sidebar_label:"DragAndDropContextProps",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"ControlledTreeEnvironmentProps",permalink:"/docs/api/interfaces/ControlledTreeEnvironmentProps"},next:{title:"DraggingPositionBetweenItems",permalink:"/docs/api/interfaces/DraggingPositionBetweenItems"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Properties",id:"properties",level:2},{value:"abortProgrammaticDrag",id:"abortprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"completeProgrammaticDrag",id:"completeprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"draggingItems",id:"draggingitems",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"draggingPosition",id:"draggingposition",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"isProgrammaticallyDragging",id:"isprogrammaticallydragging",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"itemHeight",id:"itemheight",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"linearItems",id:"linearitems",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"onDragOverTreeHandler",id:"ondragovertreehandler",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-7",level:4},{value:"onStartDraggingItems",id:"onstartdraggingitems",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-8",level:4},{value:"programmaticDragDown",id:"programmaticdragdown",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-9",level:4},{value:"programmaticDragUp",id:"programmaticdragup",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Returns",id:"returns-5",level:5},{value:"Defined in",id:"defined-in-10",level:4},{value:"startProgrammaticDrag",id:"startprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Returns",id:"returns-6",level:5},{value:"Defined in",id:"defined-in-11",level:4},{value:"viableDragPositions",id:"viabledragpositions",level:3},{value:"Index signature",id:"index-signature",level:4},{value:"Defined in",id:"defined-in-12",level:4}],m={toc:o};function s(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"abortprogrammaticdrag"},"abortProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"abortProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L319"},"types.ts:319")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"completeprogrammaticdrag"},"completeProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"completeProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L320"},"types.ts:320")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"draggingitems"},"draggingItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"draggingItems"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[]"),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L315"},"types.ts:315")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"draggingposition"},"draggingPosition"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L323"},"types.ts:323")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isprogrammaticallydragging"},"isProgrammaticallyDragging"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isProgrammaticallyDragging"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L317"},"types.ts:317")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"itemheight"},"itemHeight"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"itemHeight"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L316"},"types.ts:316")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"linearitems"},"linearItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"linearItems"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }[]"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L325"},"types.ts:325")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondragovertreehandler"},"onDragOverTreeHandler"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"onDragOverTreeHandler"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"e"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"DragEvent"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"containerRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"MutableRefObject"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLElement"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"e"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"containerRef"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"e")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"DragEvent"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"containerRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"MutableRefObject"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLElement"),">")))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L326"},"types.ts:326")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onstartdraggingitems"},"onStartDraggingItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"onStartDraggingItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L314"},"types.ts:314")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"programmaticdragdown"},"programmaticDragDown"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"programmaticDragDown"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L322"},"types.ts:322")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"programmaticdragup"},"programmaticDragUp"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"programmaticDragUp"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L321"},"types.ts:321")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startprogrammaticdrag"},"startProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"startProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L318"},"types.ts:318")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"viabledragpositions"},"viableDragPositions"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"viableDragPositions"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Object")),(0,r.kt)("h4",{id:"index-signature"},"Index signature"),(0,r.kt)("p",null,"\u25aa ","[treeId: ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"]",": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),"[]"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L324"},"types.ts:324")))}s.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>m,kt:()=>c});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var d=n.createContext({}),o=function(e){var t=n.useContext(d),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},m=function(e){var t=o(e.components);return n.createElement(d.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},k=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=p(e,["components","mdxType","originalType","parentName"]),k=o(a),c=r,g=k["".concat(d,".").concat(c)]||k[c]||s[c]||i;return a?n.createElement(g,l(l({ref:t},m),{},{components:a})):n.createElement(g,l({ref:t},m))}));function c(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=k;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var o=2;o{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>p,default:()=>k,frontMatter:()=>i,metadata:()=>l,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"UncontrolledTreeEnvironmentProps",title:"Interface: UncontrolledTreeEnvironmentProps",sidebar_label:"UncontrolledTreeEnvironmentProps",sidebar_position:0,custom_edit_url:null},p=void 0,l={unversionedId:"api/interfaces/UncontrolledTreeEnvironmentProps",id:"api/interfaces/UncontrolledTreeEnvironmentProps",title:"Interface: UncontrolledTreeEnvironmentProps",description:"Type parameters",source:"@site/docs/api/interfaces/UncontrolledTreeEnvironmentProps.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/UncontrolledTreeEnvironmentProps",permalink:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"UncontrolledTreeEnvironmentProps",title:"Interface: UncontrolledTreeEnvironmentProps",sidebar_label:"UncontrolledTreeEnvironmentProps",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeViewState",permalink:"/docs/api/interfaces/TreeViewState"},next:{title:"Get Started",permalink:"/docs/getstarted"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"autoFocus",id:"autofocus",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"canDrag",id:"candrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"canDragAndDrop",id:"candraganddrop",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"canDropAt",id:"candropat",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"canDropBelowOpenFolders",id:"candropbelowopenfolders",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"canDropOnFolder",id:"candroponfolder",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"canDropOnNonFolder",id:"candroponnonfolder",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"canInvokePrimaryActionOnItemContainer",id:"caninvokeprimaryactiononitemcontainer",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"canRename",id:"canrename",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"canReorderItems",id:"canreorderitems",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"canSearch",id:"cansearch",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"canSearchByStartingTyping",id:"cansearchbystartingtyping",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"children",id:"children",level:3},{value:"Defined in",id:"defined-in-12",level:4},{value:"dataProvider",id:"dataprovider",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"defaultInteractionMode",id:"defaultinteractionmode",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"disableArrowKeys",id:"disablearrowkeys",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"disableMultiselect",id:"disablemultiselect",level:3},{value:"Defined in",id:"defined-in-16",level:4},{value:"doesSearchMatchItem",id:"doessearchmatchitem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"getItemTitle",id:"getitemtitle",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-18",level:4},{value:"keyboardBindings",id:"keyboardbindings",level:3},{value:"Defined in",id:"defined-in-19",level:4},{value:"liveDescriptors",id:"livedescriptors",level:3},{value:"Defined in",id:"defined-in-20",level:4},{value:"onAbortRenamingItem",id:"onabortrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"onCollapseItem",id:"oncollapseitem",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"onDrop",id:"ondrop",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"onExpandItem",id:"onexpanditem",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"onFocusItem",id:"onfocusitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"onMissingChildren",id:"onmissingchildren",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"onMissingItems",id:"onmissingitems",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"onPrimaryAction",id:"onprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-11",level:5},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"onRegisterTree",id:"onregistertree",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-12",level:5},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"onRenameItem",id:"onrenameitem",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Parameters",id:"parameters-13",level:5},{value:"Returns",id:"returns-13",level:5},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"onSelectItems",id:"onselectitems",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-14",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"onStartRenamingItem",id:"onstartrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-15",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"onUnregisterTree",id:"onunregistertree",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Parameters",id:"parameters-16",level:5},{value:"Returns",id:"returns-16",level:5},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"renderDepthOffset",id:"renderdepthoffset",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"renderDragBetweenLine",id:"renderdragbetweenline",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Parameters",id:"parameters-17",level:5},{value:"Returns",id:"returns-17",level:5},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"renderItem",id:"renderitem",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-18",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"renderItemArrow",id:"renderitemarrow",level:3},{value:"Type declaration",id:"type-declaration-19",level:4},{value:"Parameters",id:"parameters-19",level:5},{value:"Returns",id:"returns-19",level:5},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"Defined in",id:"defined-in-37",level:4},{value:"renderItemTitle",id:"renderitemtitle",level:3},{value:"Type declaration",id:"type-declaration-20",level:4},{value:"Parameters",id:"parameters-20",level:5},{value:"Returns",id:"returns-20",level:5},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"Defined in",id:"defined-in-38",level:4},{value:"renderItemsContainer",id:"renderitemscontainer",level:3},{value:"Type declaration",id:"type-declaration-21",level:4},{value:"Parameters",id:"parameters-21",level:5},{value:"Returns",id:"returns-21",level:5},{value:"Inherited from",id:"inherited-from-34",level:4},{value:"Defined in",id:"defined-in-39",level:4},{value:"renderLiveDescriptorContainer",id:"renderlivedescriptorcontainer",level:3},{value:"Type declaration",id:"type-declaration-22",level:4},{value:"Parameters",id:"parameters-22",level:5},{value:"Returns",id:"returns-22",level:5},{value:"Inherited from",id:"inherited-from-35",level:4},{value:"Defined in",id:"defined-in-40",level:4},{value:"renderRenameInput",id:"renderrenameinput",level:3},{value:"Type declaration",id:"type-declaration-23",level:4},{value:"Parameters",id:"parameters-23",level:5},{value:"Returns",id:"returns-23",level:5},{value:"Inherited from",id:"inherited-from-36",level:4},{value:"Defined in",id:"defined-in-41",level:4},{value:"renderSearchInput",id:"rendersearchinput",level:3},{value:"Type declaration",id:"type-declaration-24",level:4},{value:"Parameters",id:"parameters-24",level:5},{value:"Returns",id:"returns-24",level:5},{value:"Inherited from",id:"inherited-from-37",level:4},{value:"Defined in",id:"defined-in-42",level:4},{value:"renderTreeContainer",id:"rendertreecontainer",level:3},{value:"Type declaration",id:"type-declaration-25",level:4},{value:"Parameters",id:"parameters-25",level:5},{value:"Returns",id:"returns-25",level:5},{value:"Inherited from",id:"inherited-from-38",level:4},{value:"Defined in",id:"defined-in-43",level:4},{value:"shouldRenderChildren",id:"shouldrenderchildren",level:3},{value:"Type declaration",id:"type-declaration-26",level:4},{value:"Parameters",id:"parameters-26",level:5},{value:"Returns",id:"returns-26",level:5},{value:"Inherited from",id:"inherited-from-39",level:4},{value:"Defined in",id:"defined-in-44",level:4},{value:"showLiveDescription",id:"showlivedescription",level:3},{value:"Inherited from",id:"inherited-from-40",level:4},{value:"Defined in",id:"defined-in-45",level:4},{value:"viewState",id:"viewstate",level:3},{value:"Defined in",id:"defined-in-46",level:4}],m={toc:o};function k(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeCapabilities")))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ImplicitDataSource"},(0,r.kt)("inlineCode",{parentName:"a"},"ImplicitDataSource")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeChangeHandlers")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"UncontrolledTreeEnvironmentProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"autofocus"},"autoFocus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"autoFocus"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#autofocus"},"autoFocus")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L174"},"types.ts:174")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candrag"},"canDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDrag"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">","[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">","[]")))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candrag"},"canDrag")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L168"},"types.ts:168")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candraganddrop"},"canDragAndDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDragAndDrop"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candraganddrop"},"canDragAndDrop")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L164"},"types.ts:164")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropat"},"canDropAt"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropAt"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candropat"},"canDropAt")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L169"},"types.ts:169")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropbelowopenfolders"},"canDropBelowOpenFolders"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropBelowOpenFolders"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("p",null,"See Issue #148 or the sample at\n",(0,r.kt)("a",{parentName:"p",href:"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"},"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"),"\nfor details."),(0,r.kt)("p",null,"If enabled, dropping at the bottom of an open folder will drop the items\nin the parent folder below the hovered item instead of inside the folder\nat the top."),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candropbelowopenfolders"},"canDropBelowOpenFolders")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L195"},"types.ts:195")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponfolder"},"canDropOnFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candroponfolder"},"canDropOnFolder")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L165"},"types.ts:165")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponnonfolder"},"canDropOnNonFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnNonFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candroponnonfolder"},"canDropOnNonFolder")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L166"},"types.ts:166")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canInvokePrimaryActionOnItemContainer"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L170"},"types.ts:170")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canrename"},"canRename"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canRename"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#canrename"},"canRename")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L173"},"types.ts:173")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canreorderitems"},"canReorderItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canReorderItems"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#canreorderitems"},"canReorderItems")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L167"},"types.ts:167")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearch"},"canSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#cansearch"},"canSearch")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L171"},"types.ts:171")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearchbystartingtyping"},"canSearchByStartingTyping"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearchByStartingTyping"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#cansearchbystartingtyping"},"canSearchByStartingTyping")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L172"},"types.ts:172")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"children"},"children"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"Element")," ","|"," (",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"Element"),")[]"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L381"},"types.ts:381")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"dataprovider"},"dataProvider"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"dataProvider"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeDataProvider"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeDataProvider")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ImplicitDataSource"},"ImplicitDataSource"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ImplicitDataSource#dataprovider"},"dataProvider")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L215"},"types.ts:215")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"defaultinteractionmode"},"defaultInteractionMode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"defaultInteractionMode"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/enums/InteractionMode"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionMode"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/InteractionManager"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionManager")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#defaultinteractionmode"},"defaultInteractionMode")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L163"},"types.ts:163")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disablearrowkeys"},"disableArrowKeys"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"disableArrowKeys"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#disablearrowkeys"},"disableArrowKeys")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L197"},"types.ts:197")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disablemultiselect"},"disableMultiselect"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"disableMultiselect"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L382"},"types.ts:382")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"doessearchmatchitem"},"doesSearchMatchItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"doesSearchMatchItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemTitle")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#doessearchmatchitem"},"doesSearchMatchItem")),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L175"},"types.ts:175")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"getitemtitle"},"getItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"getItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L380"},"types.ts:380")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"keyboardbindings"},"keyboardBindings"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"keyboardBindings"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/KeyboardBindings"},(0,r.kt)("inlineCode",{parentName:"a"},"KeyboardBindings"))),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L378"},"types.ts:378")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"livedescriptors"},"liveDescriptors"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"liveDescriptors"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/LiveDescriptors"},(0,r.kt)("inlineCode",{parentName:"a"},"LiveDescriptors"))),(0,r.kt)("h4",{id:"defined-in-20"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L379"},"types.ts:379")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onabortrenamingitem"},"onAbortRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onAbortRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onabortrenamingitem"},"onAbortRenamingItem")),(0,r.kt)("h4",{id:"defined-in-21"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L223"},"types.ts:223")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"oncollapseitem"},"onCollapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onCollapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#oncollapseitem"},"onCollapseItem")),(0,r.kt)("h4",{id:"defined-in-22"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L224"},"types.ts:224")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondrop"},"onDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onDrop"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#ondrop"},"onDrop")),(0,r.kt)("h4",{id:"defined-in-23"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L232"},"types.ts:232")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onexpanditem"},"onExpandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onExpandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onexpanditem"},"onExpandItem")),(0,r.kt)("h4",{id:"defined-in-24"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L225"},"types.ts:225")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onfocusitem"},"onFocusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onFocusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onfocusitem"},"onFocusItem")),(0,r.kt)("h4",{id:"defined-in-25"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L227"},"types.ts:227")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingchildren"},"onMissingChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onmissingchildren"},"onMissingChildren")),(0,r.kt)("h4",{id:"defined-in-26"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L237"},"types.ts:237")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingitems"},"onMissingItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onmissingitems"},"onMissingItems")),(0,r.kt)("h4",{id:"defined-in-27"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L236"},"types.ts:236")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onprimaryaction"},"onPrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onPrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onprimaryaction"},"onPrimaryAction")),(0,r.kt)("h4",{id:"defined-in-28"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L233"},"types.ts:233")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onregistertree"},"onRegisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRegisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-12"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onregistertree"},"onRegisterTree")),(0,r.kt)("h4",{id:"defined-in-29"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L234"},"types.ts:234")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onrenameitem"},"onRenameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRenameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-13"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onrenameitem"},"onRenameItem")),(0,r.kt)("h4",{id:"defined-in-30"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L222"},"types.ts:222")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onselectitems"},"onSelectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onSelectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-14"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onselectitems"},"onSelectItems")),(0,r.kt)("h4",{id:"defined-in-31"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L226"},"types.ts:226")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onstartrenamingitem"},"onStartRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onStartRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-15"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onstartrenamingitem"},"onStartRenamingItem")),(0,r.kt)("h4",{id:"defined-in-32"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L221"},"types.ts:221")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onunregistertree"},"onUnregisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onUnregisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-16"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onunregistertree"},"onUnregisterTree")),(0,r.kt)("h4",{id:"defined-in-33"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L235"},"types.ts:235")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdepthoffset"},"renderDepthOffset"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDepthOffset"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderdepthoffset"},"renderDepthOffset")),(0,r.kt)("h4",{id:"defined-in-34"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L136"},"types.ts:136")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdragbetweenline"},"renderDragBetweenLine"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDragBetweenLine"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"lineProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-17"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.draggingPosition")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.lineProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderdragbetweenline"},"renderDragBetweenLine")),(0,r.kt)("h4",{id:"defined-in-35"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L122"},"types.ts:122")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitem"},"renderItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"arrow"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-18"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.arrow")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitem"},"renderItem")),(0,r.kt)("h4",{id:"defined-in-36"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L76"},"types.ts:76")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemarrow"},"renderItemArrow"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemArrow"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-19"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-19"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-19"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitemarrow"},"renderItemArrow")),(0,r.kt)("h4",{id:"defined-in-37"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L93"},"types.ts:93")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemtitle"},"renderItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-20"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-20"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-20"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitemtitle"},"renderItemTitle")),(0,r.kt)("h4",{id:"defined-in-38"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L86"},"types.ts:86")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemscontainer"},"renderItemsContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemsContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"parentId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-21"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-21"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.parentId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-21"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitemscontainer"},"renderItemsContainer")),(0,r.kt)("h4",{id:"defined-in-39"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L108"},"types.ts:108")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderlivedescriptorcontainer"},"renderLiveDescriptorContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderLiveDescriptorContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-22"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-22"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-22"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-35"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderlivedescriptorcontainer"},"renderLiveDescriptorContainer")),(0,r.kt)("h4",{id:"defined-in-40"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L131"},"types.ts:131")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderrenameinput"},"renderRenameInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderRenameInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"formProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLFormElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-23"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-23"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.formProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLFormElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-23"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-36"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderrenameinput"},"renderRenameInput")),(0,r.kt)("h4",{id:"defined-in-41"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L99"},"types.ts:99")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendersearchinput"},"renderSearchInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderSearchInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-24"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-24"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")))),(0,r.kt)("h5",{id:"returns-24"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-37"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#rendersearchinput"},"renderSearchInput")),(0,r.kt)("h4",{id:"defined-in-42"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L127"},"types.ts:127")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendertreecontainer"},"renderTreeContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderTreeContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-25"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-25"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))))),(0,r.kt)("h5",{id:"returns-25"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-38"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#rendertreecontainer"},"renderTreeContainer")),(0,r.kt)("h4",{id:"defined-in-43"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L116"},"types.ts:116")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"shouldrenderchildren"},"shouldRenderChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"shouldRenderChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-26"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-26"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"never"),">")))),(0,r.kt)("h5",{id:"returns-26"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-39"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#shouldrenderchildren"},"shouldRenderChildren")),(0,r.kt)("h4",{id:"defined-in-44"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L181"},"types.ts:181")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"showlivedescription"},"showLiveDescription"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"showLiveDescription"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-40"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#showlivedescription"},"showLiveDescription")),(0,r.kt)("h4",{id:"defined-in-45"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L180"},"types.ts:180")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"viewstate"},"viewState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"viewState"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeViewState"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeViewState")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"),(0,r.kt)("h4",{id:"defined-in-46"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L377"},"types.ts:377")))}k.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>N});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),s=o(n),N=r,c=s["".concat(d,".").concat(N)]||s[N]||k[N]||i;return n?a.createElement(c,p(p({ref:t},m),{},{components:n})):a.createElement(c,p({ref:t},m))}));function N(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,p=new Array(i);p[0]=s;var l={};for(var d in t)hasOwnProperty.call(t,d)&&(l[d]=t[d]);l.originalType=e,l.mdxType="string"==typeof e?e:r,p[1]=l;for(var o=2;o{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>p,default:()=>k,frontMatter:()=>i,metadata:()=>l,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"UncontrolledTreeEnvironmentProps",title:"Interface: UncontrolledTreeEnvironmentProps",sidebar_label:"UncontrolledTreeEnvironmentProps",sidebar_position:0,custom_edit_url:null},p=void 0,l={unversionedId:"api/interfaces/UncontrolledTreeEnvironmentProps",id:"api/interfaces/UncontrolledTreeEnvironmentProps",title:"Interface: UncontrolledTreeEnvironmentProps",description:"Type parameters",source:"@site/docs/api/interfaces/UncontrolledTreeEnvironmentProps.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/UncontrolledTreeEnvironmentProps",permalink:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"UncontrolledTreeEnvironmentProps",title:"Interface: UncontrolledTreeEnvironmentProps",sidebar_label:"UncontrolledTreeEnvironmentProps",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeViewState",permalink:"/docs/api/interfaces/TreeViewState"},next:{title:"Get Started",permalink:"/docs/getstarted"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"autoFocus",id:"autofocus",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"canDrag",id:"candrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"canDragAndDrop",id:"candraganddrop",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"canDropAt",id:"candropat",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"canDropBelowOpenFolders",id:"candropbelowopenfolders",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"canDropOnFolder",id:"candroponfolder",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"canDropOnNonFolder",id:"candroponnonfolder",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"canInvokePrimaryActionOnItemContainer",id:"caninvokeprimaryactiononitemcontainer",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"canRename",id:"canrename",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"canReorderItems",id:"canreorderitems",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"canSearch",id:"cansearch",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"canSearchByStartingTyping",id:"cansearchbystartingtyping",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"children",id:"children",level:3},{value:"Defined in",id:"defined-in-12",level:4},{value:"dataProvider",id:"dataprovider",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"defaultInteractionMode",id:"defaultinteractionmode",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"disableArrowKeys",id:"disablearrowkeys",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"disableMultiselect",id:"disablemultiselect",level:3},{value:"Defined in",id:"defined-in-16",level:4},{value:"doesSearchMatchItem",id:"doessearchmatchitem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"getItemTitle",id:"getitemtitle",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-18",level:4},{value:"keyboardBindings",id:"keyboardbindings",level:3},{value:"Defined in",id:"defined-in-19",level:4},{value:"liveDescriptors",id:"livedescriptors",level:3},{value:"Defined in",id:"defined-in-20",level:4},{value:"onAbortRenamingItem",id:"onabortrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"onCollapseItem",id:"oncollapseitem",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"onDrop",id:"ondrop",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"onExpandItem",id:"onexpanditem",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"onFocusItem",id:"onfocusitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"onMissingChildren",id:"onmissingchildren",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"onMissingItems",id:"onmissingitems",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"onPrimaryAction",id:"onprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-11",level:5},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"onRegisterTree",id:"onregistertree",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-12",level:5},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"onRenameItem",id:"onrenameitem",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Parameters",id:"parameters-13",level:5},{value:"Returns",id:"returns-13",level:5},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"onSelectItems",id:"onselectitems",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-14",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"onStartRenamingItem",id:"onstartrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-15",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"onUnregisterTree",id:"onunregistertree",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Parameters",id:"parameters-16",level:5},{value:"Returns",id:"returns-16",level:5},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"renderDepthOffset",id:"renderdepthoffset",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"renderDragBetweenLine",id:"renderdragbetweenline",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Parameters",id:"parameters-17",level:5},{value:"Returns",id:"returns-17",level:5},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"renderItem",id:"renderitem",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-18",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"renderItemArrow",id:"renderitemarrow",level:3},{value:"Type declaration",id:"type-declaration-19",level:4},{value:"Parameters",id:"parameters-19",level:5},{value:"Returns",id:"returns-19",level:5},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"Defined in",id:"defined-in-37",level:4},{value:"renderItemTitle",id:"renderitemtitle",level:3},{value:"Type declaration",id:"type-declaration-20",level:4},{value:"Parameters",id:"parameters-20",level:5},{value:"Returns",id:"returns-20",level:5},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"Defined in",id:"defined-in-38",level:4},{value:"renderItemsContainer",id:"renderitemscontainer",level:3},{value:"Type declaration",id:"type-declaration-21",level:4},{value:"Parameters",id:"parameters-21",level:5},{value:"Returns",id:"returns-21",level:5},{value:"Inherited from",id:"inherited-from-34",level:4},{value:"Defined in",id:"defined-in-39",level:4},{value:"renderLiveDescriptorContainer",id:"renderlivedescriptorcontainer",level:3},{value:"Type declaration",id:"type-declaration-22",level:4},{value:"Parameters",id:"parameters-22",level:5},{value:"Returns",id:"returns-22",level:5},{value:"Inherited from",id:"inherited-from-35",level:4},{value:"Defined in",id:"defined-in-40",level:4},{value:"renderRenameInput",id:"renderrenameinput",level:3},{value:"Type declaration",id:"type-declaration-23",level:4},{value:"Parameters",id:"parameters-23",level:5},{value:"Returns",id:"returns-23",level:5},{value:"Inherited from",id:"inherited-from-36",level:4},{value:"Defined in",id:"defined-in-41",level:4},{value:"renderSearchInput",id:"rendersearchinput",level:3},{value:"Type declaration",id:"type-declaration-24",level:4},{value:"Parameters",id:"parameters-24",level:5},{value:"Returns",id:"returns-24",level:5},{value:"Inherited from",id:"inherited-from-37",level:4},{value:"Defined in",id:"defined-in-42",level:4},{value:"renderTreeContainer",id:"rendertreecontainer",level:3},{value:"Type declaration",id:"type-declaration-25",level:4},{value:"Parameters",id:"parameters-25",level:5},{value:"Returns",id:"returns-25",level:5},{value:"Inherited from",id:"inherited-from-38",level:4},{value:"Defined in",id:"defined-in-43",level:4},{value:"shouldRenderChildren",id:"shouldrenderchildren",level:3},{value:"Type declaration",id:"type-declaration-26",level:4},{value:"Parameters",id:"parameters-26",level:5},{value:"Returns",id:"returns-26",level:5},{value:"Inherited from",id:"inherited-from-39",level:4},{value:"Defined in",id:"defined-in-44",level:4},{value:"showLiveDescription",id:"showlivedescription",level:3},{value:"Inherited from",id:"inherited-from-40",level:4},{value:"Defined in",id:"defined-in-45",level:4},{value:"viewState",id:"viewstate",level:3},{value:"Defined in",id:"defined-in-46",level:4}],m={toc:o};function k(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeCapabilities")))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ImplicitDataSource"},(0,r.kt)("inlineCode",{parentName:"a"},"ImplicitDataSource")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeChangeHandlers")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"UncontrolledTreeEnvironmentProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"autofocus"},"autoFocus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"autoFocus"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#autofocus"},"autoFocus")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L174"},"types.ts:174")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candrag"},"canDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDrag"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">","[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">","[]")))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candrag"},"canDrag")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L168"},"types.ts:168")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candraganddrop"},"canDragAndDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDragAndDrop"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candraganddrop"},"canDragAndDrop")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L164"},"types.ts:164")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropat"},"canDropAt"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropAt"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candropat"},"canDropAt")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L169"},"types.ts:169")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropbelowopenfolders"},"canDropBelowOpenFolders"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropBelowOpenFolders"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("p",null,"See Issue #148 or the sample at\n",(0,r.kt)("a",{parentName:"p",href:"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"},"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"),"\nfor details."),(0,r.kt)("p",null,"If enabled, dropping at the bottom of an open folder will drop the items\nin the parent folder below the hovered item instead of inside the folder\nat the top."),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candropbelowopenfolders"},"canDropBelowOpenFolders")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L195"},"types.ts:195")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponfolder"},"canDropOnFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candroponfolder"},"canDropOnFolder")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L165"},"types.ts:165")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponnonfolder"},"canDropOnNonFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnNonFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candroponnonfolder"},"canDropOnNonFolder")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L166"},"types.ts:166")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canInvokePrimaryActionOnItemContainer"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L170"},"types.ts:170")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canrename"},"canRename"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canRename"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#canrename"},"canRename")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L173"},"types.ts:173")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canreorderitems"},"canReorderItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canReorderItems"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#canreorderitems"},"canReorderItems")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L167"},"types.ts:167")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearch"},"canSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#cansearch"},"canSearch")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L171"},"types.ts:171")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearchbystartingtyping"},"canSearchByStartingTyping"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearchByStartingTyping"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#cansearchbystartingtyping"},"canSearchByStartingTyping")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L172"},"types.ts:172")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"children"},"children"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"Element")," ","|"," (",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"Element"),")[]"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L381"},"types.ts:381")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"dataprovider"},"dataProvider"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"dataProvider"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeDataProvider"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeDataProvider")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ImplicitDataSource"},"ImplicitDataSource"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ImplicitDataSource#dataprovider"},"dataProvider")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L215"},"types.ts:215")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"defaultinteractionmode"},"defaultInteractionMode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"defaultInteractionMode"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/enums/InteractionMode"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionMode"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/InteractionManager"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionManager")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#defaultinteractionmode"},"defaultInteractionMode")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L163"},"types.ts:163")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disablearrowkeys"},"disableArrowKeys"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"disableArrowKeys"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#disablearrowkeys"},"disableArrowKeys")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L197"},"types.ts:197")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disablemultiselect"},"disableMultiselect"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"disableMultiselect"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L382"},"types.ts:382")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"doessearchmatchitem"},"doesSearchMatchItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"doesSearchMatchItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemTitle")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#doessearchmatchitem"},"doesSearchMatchItem")),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L175"},"types.ts:175")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"getitemtitle"},"getItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"getItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L380"},"types.ts:380")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"keyboardbindings"},"keyboardBindings"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"keyboardBindings"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/KeyboardBindings"},(0,r.kt)("inlineCode",{parentName:"a"},"KeyboardBindings"))),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L378"},"types.ts:378")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"livedescriptors"},"liveDescriptors"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"liveDescriptors"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/LiveDescriptors"},(0,r.kt)("inlineCode",{parentName:"a"},"LiveDescriptors"))),(0,r.kt)("h4",{id:"defined-in-20"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L379"},"types.ts:379")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onabortrenamingitem"},"onAbortRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onAbortRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onabortrenamingitem"},"onAbortRenamingItem")),(0,r.kt)("h4",{id:"defined-in-21"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L223"},"types.ts:223")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"oncollapseitem"},"onCollapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onCollapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#oncollapseitem"},"onCollapseItem")),(0,r.kt)("h4",{id:"defined-in-22"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L224"},"types.ts:224")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondrop"},"onDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onDrop"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#ondrop"},"onDrop")),(0,r.kt)("h4",{id:"defined-in-23"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L232"},"types.ts:232")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onexpanditem"},"onExpandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onExpandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onexpanditem"},"onExpandItem")),(0,r.kt)("h4",{id:"defined-in-24"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L225"},"types.ts:225")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onfocusitem"},"onFocusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onFocusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onfocusitem"},"onFocusItem")),(0,r.kt)("h4",{id:"defined-in-25"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L227"},"types.ts:227")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingchildren"},"onMissingChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onmissingchildren"},"onMissingChildren")),(0,r.kt)("h4",{id:"defined-in-26"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L237"},"types.ts:237")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingitems"},"onMissingItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onmissingitems"},"onMissingItems")),(0,r.kt)("h4",{id:"defined-in-27"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L236"},"types.ts:236")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onprimaryaction"},"onPrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onPrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onprimaryaction"},"onPrimaryAction")),(0,r.kt)("h4",{id:"defined-in-28"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L233"},"types.ts:233")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onregistertree"},"onRegisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRegisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-12"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onregistertree"},"onRegisterTree")),(0,r.kt)("h4",{id:"defined-in-29"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L234"},"types.ts:234")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onrenameitem"},"onRenameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRenameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-13"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onrenameitem"},"onRenameItem")),(0,r.kt)("h4",{id:"defined-in-30"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L222"},"types.ts:222")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onselectitems"},"onSelectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onSelectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-14"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onselectitems"},"onSelectItems")),(0,r.kt)("h4",{id:"defined-in-31"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L226"},"types.ts:226")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onstartrenamingitem"},"onStartRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onStartRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-15"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onstartrenamingitem"},"onStartRenamingItem")),(0,r.kt)("h4",{id:"defined-in-32"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L221"},"types.ts:221")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onunregistertree"},"onUnregisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onUnregisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-16"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onunregistertree"},"onUnregisterTree")),(0,r.kt)("h4",{id:"defined-in-33"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L235"},"types.ts:235")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdepthoffset"},"renderDepthOffset"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDepthOffset"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderdepthoffset"},"renderDepthOffset")),(0,r.kt)("h4",{id:"defined-in-34"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L136"},"types.ts:136")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdragbetweenline"},"renderDragBetweenLine"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDragBetweenLine"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"lineProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-17"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.draggingPosition")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.lineProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderdragbetweenline"},"renderDragBetweenLine")),(0,r.kt)("h4",{id:"defined-in-35"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L122"},"types.ts:122")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitem"},"renderItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"arrow"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-18"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.arrow")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitem"},"renderItem")),(0,r.kt)("h4",{id:"defined-in-36"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L76"},"types.ts:76")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemarrow"},"renderItemArrow"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemArrow"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-19"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-19"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-19"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitemarrow"},"renderItemArrow")),(0,r.kt)("h4",{id:"defined-in-37"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L93"},"types.ts:93")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemtitle"},"renderItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-20"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-20"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-20"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitemtitle"},"renderItemTitle")),(0,r.kt)("h4",{id:"defined-in-38"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L86"},"types.ts:86")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemscontainer"},"renderItemsContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemsContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"parentId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-21"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-21"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.parentId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-21"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitemscontainer"},"renderItemsContainer")),(0,r.kt)("h4",{id:"defined-in-39"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L108"},"types.ts:108")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderlivedescriptorcontainer"},"renderLiveDescriptorContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderLiveDescriptorContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-22"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-22"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-22"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-35"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderlivedescriptorcontainer"},"renderLiveDescriptorContainer")),(0,r.kt)("h4",{id:"defined-in-40"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L131"},"types.ts:131")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderrenameinput"},"renderRenameInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderRenameInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"formProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLFormElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-23"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-23"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.formProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLFormElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-23"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-36"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderrenameinput"},"renderRenameInput")),(0,r.kt)("h4",{id:"defined-in-41"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L99"},"types.ts:99")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendersearchinput"},"renderSearchInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderSearchInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-24"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-24"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")))),(0,r.kt)("h5",{id:"returns-24"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-37"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#rendersearchinput"},"renderSearchInput")),(0,r.kt)("h4",{id:"defined-in-42"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L127"},"types.ts:127")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendertreecontainer"},"renderTreeContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderTreeContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-25"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-25"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))))),(0,r.kt)("h5",{id:"returns-25"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-38"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#rendertreecontainer"},"renderTreeContainer")),(0,r.kt)("h4",{id:"defined-in-43"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L116"},"types.ts:116")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"shouldrenderchildren"},"shouldRenderChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"shouldRenderChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-26"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-26"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"never"),">")))),(0,r.kt)("h5",{id:"returns-26"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-39"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#shouldrenderchildren"},"shouldRenderChildren")),(0,r.kt)("h4",{id:"defined-in-44"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L181"},"types.ts:181")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"showlivedescription"},"showLiveDescription"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"showLiveDescription"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-40"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#showlivedescription"},"showLiveDescription")),(0,r.kt)("h4",{id:"defined-in-45"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L180"},"types.ts:180")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"viewstate"},"viewState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"viewState"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeViewState"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeViewState")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"),(0,r.kt)("h4",{id:"defined-in-46"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L377"},"types.ts:377")))}k.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>N});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),s=o(n),N=r,c=s["".concat(d,".").concat(N)]||s[N]||k[N]||i;return n?a.createElement(c,p(p({ref:t},m),{},{components:n})):a.createElement(c,p({ref:t},m))}));function N(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,p=new Array(i);p[0]=s;var l={};for(var d in t)hasOwnProperty.call(t,d)&&(l[d]=t[d]);l.originalType=e,l.mdxType="string"==typeof e?e:r,p[1]=l;for(var o=2;o{a.r(t),a.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>d,toc:()=>o});var n=a(7896),r=(a(2784),a(876));const i={id:"TreeRef",title:"Interface: TreeRef",sidebar_label:"TreeRef",sidebar_position:0,custom_edit_url:null},l=void 0,d={unversionedId:"api/interfaces/TreeRef",id:"api/interfaces/TreeRef",title:"Interface: TreeRef",description:"Type parameters",source:"@site/docs/api/interfaces/TreeRef.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeRef",permalink:"/docs/api/interfaces/TreeRef",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeRef",title:"Interface: TreeRef",sidebar_label:"TreeRef",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeProps",permalink:"/docs/api/interfaces/TreeProps"},next:{title:"TreeRenderProps",permalink:"/docs/api/interfaces/TreeRenderProps"}},p={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"abortRenamingItem",id:"abortrenamingitem",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"abortSearch",id:"abortsearch",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"areItemsSelected",id:"areitemsselected",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"collapseAll",id:"collapseall",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"collapseItem",id:"collapseitem",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"completeRenamingItem",id:"completerenamingitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"dragAndDropContext",id:"draganddropcontext",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"expandAll",id:"expandall",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"expandItem",id:"expanditem",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"expandSubsequently",id:"expandsubsequently",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"focusItem",id:"focusitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"focusTree",id:"focustree",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"invokePrimaryAction",id:"invokeprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"isFocused",id:"isfocused",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"isProgrammaticallyDragging",id:"isprogrammaticallydragging",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"isRenaming",id:"isrenaming",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"isSearching",id:"issearching",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"moveFocusDown",id:"movefocusdown",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Returns",id:"returns-11",level:5},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"moveFocusUp",id:"movefocusup",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Returns",id:"returns-12",level:5},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"renameItem",id:"renameitem",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-13",level:5},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"rootItem",id:"rootitem",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"search",id:"search",level:3},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"selectItems",id:"selectitems",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"setSearch",id:"setsearch",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"startRenamingItem",id:"startrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-16",level:5},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"stopRenamingItem",id:"stoprenamingitem",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Returns",id:"returns-17",level:5},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"toggleItemExpandedState",id:"toggleitemexpandedstate",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"toggleItemSelectStatus",id:"toggleitemselectstatus",level:3},{value:"Type declaration",id:"type-declaration-19",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-19",level:5},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"treeContext",id:"treecontext",level:3},{value:"Defined in",id:"defined-in-28",level:4},{value:"treeEnvironmentContext",id:"treeenvironmentcontext",level:3},{value:"Defined in",id:"defined-in-29",level:4},{value:"treeId",id:"treeid",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"treeLabel",id:"treelabel",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"treeLabelledBy",id:"treelabelledby",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-32",level:4}],m={toc:o};function s(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeChangeActions")))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeRef"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"abortrenamingitem"},"abortRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"abortRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#abortrenamingitem"},"abortRenamingItem")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L411"},"types.ts:411")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"abortsearch"},"abortSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"abortSearch"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#abortsearch"},"abortSearch")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L426"},"types.ts:426")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"areitemsselected"},"areItemsSelected"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"areItemsSelected"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#areitemsselected"},"areItemsSelected")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L67"},"types.ts:67")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseall"},"collapseAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseAll"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#collapseall"},"collapseAll")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L428"},"types.ts:428")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseitem"},"collapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#collapseitem"},"collapseItem")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L413"},"types.ts:413")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"completerenamingitem"},"completeRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"completeRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#completerenamingitem"},"completeRenamingItem")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L410"},"types.ts:410")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"draganddropcontext"},"dragAndDropContext"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"dragAndDropContext"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DragAndDropContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"DragAndDropContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L437"},"types.ts:437")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandall"},"expandAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandAll"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#expandall"},"expandAll")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L427"},"types.ts:427")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expanditem"},"expandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#expanditem"},"expandItem")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L414"},"types.ts:414")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandsubsequently"},"expandSubsequently"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandSubsequently"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#expandsubsequently"},"expandSubsequently")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L429"},"types.ts:429")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focusitem"},"focusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean")),(0,r.kt)("td",{parentName:"tr",align:"left"},"Defaults to true.")))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#focusitem"},"focusItem")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L420"},"types.ts:420")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focustree"},"focusTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"autoFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#focustree"},"focusTree")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L407"},"types.ts:407")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"invokeprimaryaction"},"invokePrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"invokePrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#invokeprimaryaction"},"invokePrimaryAction")),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L424"},"types.ts:424")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isfocused"},"isFocused"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"isFocused"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#isfocused"},"isFocused")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L69"},"types.ts:69")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isprogrammaticallydragging"},"isProgrammaticallyDragging"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"isProgrammaticallyDragging"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#isprogrammaticallydragging"},"isProgrammaticallyDragging")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L72"},"types.ts:72")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isrenaming"},"isRenaming"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"isRenaming"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#isrenaming"},"isRenaming")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L68"},"types.ts:68")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"issearching"},"isSearching"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"isSearching"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#issearching"},"isSearching")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L70"},"types.ts:70")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusdown"},"moveFocusDown"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusDown"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#movefocusdown"},"moveFocusDown")),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L423"},"types.ts:423")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusup"},"moveFocusUp"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusUp"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#movefocusup"},"moveFocusUp")),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L422"},"types.ts:422")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renameitem"},"renameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#renameitem"},"renameItem")),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L412"},"types.ts:412")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rootitem"},"rootItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"rootItem"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#rootitem"},"rootItem")),(0,r.kt)("h4",{id:"defined-in-20"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L387"},"types.ts:387")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"search"},"search"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"overrides"},"Overrides"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#search"},"search")),(0,r.kt)("h4",{id:"defined-in-21"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L438"},"types.ts:438")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"selectitems"},"selectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"selectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemsIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#selectitems"},"selectItems")),(0,r.kt)("h4",{id:"defined-in-22"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L416"},"types.ts:416")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"setsearch"},"setSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"setSearch"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#setsearch"},"setSearch")),(0,r.kt)("h4",{id:"defined-in-23"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L425"},"types.ts:425")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startrenamingitem"},"startRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"startRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#startrenamingitem"},"startRenamingItem")),(0,r.kt)("h4",{id:"defined-in-24"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L408"},"types.ts:408")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"stoprenamingitem"},"stopRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"stopRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#stoprenamingitem"},"stopRenamingItem")),(0,r.kt)("h4",{id:"defined-in-25"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L409"},"types.ts:409")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemexpandedstate"},"toggleItemExpandedState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemExpandedState"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#toggleitemexpandedstate"},"toggleItemExpandedState")),(0,r.kt)("h4",{id:"defined-in-26"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L415"},"types.ts:415")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemselectstatus"},"toggleItemSelectStatus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemSelectStatus"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-19"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-19"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#toggleitemselectstatus"},"toggleItemSelectStatus")),(0,r.kt)("h4",{id:"defined-in-27"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L417"},"types.ts:417")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treecontext"},"treeContext"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeContext"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeContextProps"))),(0,r.kt)("h4",{id:"defined-in-28"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L435"},"types.ts:435")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeenvironmentcontext"},"treeEnvironmentContext"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeEnvironmentContext"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"defined-in-29"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L436"},"types.ts:436")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeid"},"treeId"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#treeid"},"treeId")),(0,r.kt)("h4",{id:"defined-in-30"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L386"},"types.ts:386")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treelabel"},"treeLabel"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"treeLabel"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#treelabel"},"treeLabel")),(0,r.kt)("h4",{id:"defined-in-31"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L388"},"types.ts:388")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treelabelledby"},"treeLabelledBy"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"treeLabelledBy"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#treelabelledby"},"treeLabelledBy")),(0,r.kt)("h4",{id:"defined-in-32"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L389"},"types.ts:389")))}s.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>m,kt:()=>c});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var p=n.createContext({}),o=function(e){var t=n.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},m=function(e){var t=o(e.components);return n.createElement(p.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},k=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,p=e.parentName,m=d(e,["components","mdxType","originalType","parentName"]),k=o(a),c=r,h=k["".concat(p,".").concat(c)]||k[c]||s[c]||i;return a?n.createElement(h,l(l({ref:t},m),{},{components:a})):n.createElement(h,l({ref:t},m))}));function c(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=k;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:r,l[1]=d;for(var o=2;o{a.r(t),a.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>d,toc:()=>o});var n=a(7896),r=(a(2784),a(876));const i={id:"TreeRef",title:"Interface: TreeRef",sidebar_label:"TreeRef",sidebar_position:0,custom_edit_url:null},l=void 0,d={unversionedId:"api/interfaces/TreeRef",id:"api/interfaces/TreeRef",title:"Interface: TreeRef",description:"Type parameters",source:"@site/docs/api/interfaces/TreeRef.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeRef",permalink:"/docs/api/interfaces/TreeRef",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeRef",title:"Interface: TreeRef",sidebar_label:"TreeRef",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeProps",permalink:"/docs/api/interfaces/TreeProps"},next:{title:"TreeRenderProps",permalink:"/docs/api/interfaces/TreeRenderProps"}},p={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"abortRenamingItem",id:"abortrenamingitem",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"abortSearch",id:"abortsearch",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"areItemsSelected",id:"areitemsselected",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"collapseAll",id:"collapseall",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"collapseItem",id:"collapseitem",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"completeRenamingItem",id:"completerenamingitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"dragAndDropContext",id:"draganddropcontext",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"expandAll",id:"expandall",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"expandItem",id:"expanditem",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"expandSubsequently",id:"expandsubsequently",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"focusItem",id:"focusitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"focusTree",id:"focustree",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"invokePrimaryAction",id:"invokeprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"isFocused",id:"isfocused",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"isProgrammaticallyDragging",id:"isprogrammaticallydragging",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"isRenaming",id:"isrenaming",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"isSearching",id:"issearching",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"moveFocusDown",id:"movefocusdown",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Returns",id:"returns-11",level:5},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"moveFocusUp",id:"movefocusup",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Returns",id:"returns-12",level:5},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"renameItem",id:"renameitem",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-13",level:5},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"rootItem",id:"rootitem",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"search",id:"search",level:3},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"selectItems",id:"selectitems",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"setSearch",id:"setsearch",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"startRenamingItem",id:"startrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-16",level:5},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"stopRenamingItem",id:"stoprenamingitem",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Returns",id:"returns-17",level:5},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"toggleItemExpandedState",id:"toggleitemexpandedstate",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"toggleItemSelectStatus",id:"toggleitemselectstatus",level:3},{value:"Type declaration",id:"type-declaration-19",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-19",level:5},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"treeContext",id:"treecontext",level:3},{value:"Defined in",id:"defined-in-28",level:4},{value:"treeEnvironmentContext",id:"treeenvironmentcontext",level:3},{value:"Defined in",id:"defined-in-29",level:4},{value:"treeId",id:"treeid",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"treeLabel",id:"treelabel",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"treeLabelledBy",id:"treelabelledby",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-32",level:4}],m={toc:o};function s(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeChangeActions")))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeRef"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"abortrenamingitem"},"abortRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"abortRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#abortrenamingitem"},"abortRenamingItem")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L411"},"types.ts:411")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"abortsearch"},"abortSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"abortSearch"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#abortsearch"},"abortSearch")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L426"},"types.ts:426")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"areitemsselected"},"areItemsSelected"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"areItemsSelected"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#areitemsselected"},"areItemsSelected")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L67"},"types.ts:67")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseall"},"collapseAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseAll"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#collapseall"},"collapseAll")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L428"},"types.ts:428")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseitem"},"collapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#collapseitem"},"collapseItem")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L413"},"types.ts:413")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"completerenamingitem"},"completeRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"completeRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#completerenamingitem"},"completeRenamingItem")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L410"},"types.ts:410")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"draganddropcontext"},"dragAndDropContext"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"dragAndDropContext"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DragAndDropContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"DragAndDropContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L437"},"types.ts:437")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandall"},"expandAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandAll"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#expandall"},"expandAll")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L427"},"types.ts:427")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expanditem"},"expandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#expanditem"},"expandItem")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L414"},"types.ts:414")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandsubsequently"},"expandSubsequently"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandSubsequently"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#expandsubsequently"},"expandSubsequently")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L429"},"types.ts:429")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focusitem"},"focusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean")),(0,r.kt)("td",{parentName:"tr",align:"left"},"Defaults to true.")))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#focusitem"},"focusItem")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L420"},"types.ts:420")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focustree"},"focusTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"autoFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#focustree"},"focusTree")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L407"},"types.ts:407")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"invokeprimaryaction"},"invokePrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"invokePrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#invokeprimaryaction"},"invokePrimaryAction")),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L424"},"types.ts:424")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isfocused"},"isFocused"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"isFocused"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#isfocused"},"isFocused")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L69"},"types.ts:69")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isprogrammaticallydragging"},"isProgrammaticallyDragging"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"isProgrammaticallyDragging"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#isprogrammaticallydragging"},"isProgrammaticallyDragging")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L72"},"types.ts:72")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isrenaming"},"isRenaming"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"isRenaming"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#isrenaming"},"isRenaming")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L68"},"types.ts:68")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"issearching"},"isSearching"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"isSearching"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#issearching"},"isSearching")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L70"},"types.ts:70")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusdown"},"moveFocusDown"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusDown"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#movefocusdown"},"moveFocusDown")),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L423"},"types.ts:423")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusup"},"moveFocusUp"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusUp"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#movefocusup"},"moveFocusUp")),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L422"},"types.ts:422")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renameitem"},"renameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#renameitem"},"renameItem")),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L412"},"types.ts:412")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rootitem"},"rootItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"rootItem"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#rootitem"},"rootItem")),(0,r.kt)("h4",{id:"defined-in-20"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L387"},"types.ts:387")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"search"},"search"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"overrides"},"Overrides"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#search"},"search")),(0,r.kt)("h4",{id:"defined-in-21"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L438"},"types.ts:438")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"selectitems"},"selectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"selectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemsIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#selectitems"},"selectItems")),(0,r.kt)("h4",{id:"defined-in-22"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L416"},"types.ts:416")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"setsearch"},"setSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"setSearch"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#setsearch"},"setSearch")),(0,r.kt)("h4",{id:"defined-in-23"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L425"},"types.ts:425")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startrenamingitem"},"startRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"startRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#startrenamingitem"},"startRenamingItem")),(0,r.kt)("h4",{id:"defined-in-24"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L408"},"types.ts:408")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"stoprenamingitem"},"stopRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"stopRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#stoprenamingitem"},"stopRenamingItem")),(0,r.kt)("h4",{id:"defined-in-25"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L409"},"types.ts:409")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemexpandedstate"},"toggleItemExpandedState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemExpandedState"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#toggleitemexpandedstate"},"toggleItemExpandedState")),(0,r.kt)("h4",{id:"defined-in-26"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L415"},"types.ts:415")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemselectstatus"},"toggleItemSelectStatus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemSelectStatus"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-19"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-19"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions#toggleitemselectstatus"},"toggleItemSelectStatus")),(0,r.kt)("h4",{id:"defined-in-27"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L417"},"types.ts:417")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treecontext"},"treeContext"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeContext"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeContextProps"))),(0,r.kt)("h4",{id:"defined-in-28"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L435"},"types.ts:435")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeenvironmentcontext"},"treeEnvironmentContext"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeEnvironmentContext"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"defined-in-29"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L436"},"types.ts:436")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeid"},"treeId"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#treeid"},"treeId")),(0,r.kt)("h4",{id:"defined-in-30"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L386"},"types.ts:386")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treelabel"},"treeLabel"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"treeLabel"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#treelabel"},"treeLabel")),(0,r.kt)("h4",{id:"defined-in-31"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L388"},"types.ts:388")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treelabelledby"},"treeLabelledBy"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"treeLabelledBy"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation#treelabelledby"},"treeLabelledBy")),(0,r.kt)("h4",{id:"defined-in-32"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L389"},"types.ts:389")))}s.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>m,kt:()=>c});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var p=n.createContext({}),o=function(e){var t=n.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},m=function(e){var t=o(e.components);return n.createElement(p.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},k=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,p=e.parentName,m=d(e,["components","mdxType","originalType","parentName"]),k=o(a),c=r,h=k["".concat(p,".").concat(c)]||k[c]||s[c]||i;return a?n.createElement(h,l(l({ref:t},m),{},{components:a})):n.createElement(h,l({ref:t},m))}));function c(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=k;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:r,l[1]=d;for(var o=2;o{a.r(t),a.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>k,frontMatter:()=>i,metadata:()=>p,toc:()=>m});var n=a(7896),r=(a(2784),a(876));const i={id:"TreeChangeHandlers",title:"Interface: TreeChangeHandlers",sidebar_label:"TreeChangeHandlers",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeChangeHandlers",id:"api/interfaces/TreeChangeHandlers",title:"Interface: TreeChangeHandlers",description:"Type parameters",source:"@site/docs/api/interfaces/TreeChangeHandlers.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeChangeHandlers",permalink:"/docs/api/interfaces/TreeChangeHandlers",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeChangeHandlers",title:"Interface: TreeChangeHandlers",sidebar_label:"TreeChangeHandlers",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeChangeActions",permalink:"/docs/api/interfaces/TreeChangeActions"},next:{title:"TreeConfiguration",permalink:"/docs/api/interfaces/TreeConfiguration"}},d={},m=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"onAbortRenamingItem",id:"onabortrenamingitem",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"onCollapseItem",id:"oncollapseitem",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"onDrop",id:"ondrop",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-2",level:4},{value:"onExpandItem",id:"onexpanditem",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"onFocusItem",id:"onfocusitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-4",level:4},{value:"onMissingChildren",id:"onmissingchildren",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Defined in",id:"defined-in-5",level:4},{value:"onMissingItems",id:"onmissingitems",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Defined in",id:"defined-in-6",level:4},{value:"onPrimaryAction",id:"onprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Defined in",id:"defined-in-7",level:4},{value:"onRegisterTree",id:"onregistertree",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Defined in",id:"defined-in-8",level:4},{value:"onRenameItem",id:"onrenameitem",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Defined in",id:"defined-in-9",level:4},{value:"onSelectItems",id:"onselectitems",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Defined in",id:"defined-in-10",level:4},{value:"onStartRenamingItem",id:"onstartrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-11",level:5},{value:"Defined in",id:"defined-in-11",level:4},{value:"onUnregisterTree",id:"onunregistertree",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-12",level:5},{value:"Defined in",id:"defined-in-12",level:4}],o={toc:m};function k(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},o,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeChangeHandlers"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentConfiguration"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps"},(0,r.kt)("inlineCode",{parentName:"a"},"UncontrolledTreeEnvironmentProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"onabortrenamingitem"},"onAbortRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onAbortRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L223"},"types.ts:223")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"oncollapseitem"},"onCollapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onCollapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L224"},"types.ts:224")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondrop"},"onDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onDrop"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L232"},"types.ts:232")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onexpanditem"},"onExpandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onExpandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L225"},"types.ts:225")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onfocusitem"},"onFocusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onFocusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L227"},"types.ts:227")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingchildren"},"onMissingChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L237"},"types.ts:237")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingitems"},"onMissingItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L236"},"types.ts:236")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onprimaryaction"},"onPrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onPrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L233"},"types.ts:233")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onregistertree"},"onRegisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRegisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L234"},"types.ts:234")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onrenameitem"},"onRenameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRenameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L222"},"types.ts:222")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onselectitems"},"onSelectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onSelectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L226"},"types.ts:226")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onstartrenamingitem"},"onStartRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onStartRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L221"},"types.ts:221")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onunregistertree"},"onUnregisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onUnregisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-12"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L235"},"types.ts:235")))}k.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>o,kt:()=>N});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var d=n.createContext({}),m=function(e){var t=n.useContext(d),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},o=function(e){var t=m(e.components);return n.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,o=p(e,["components","mdxType","originalType","parentName"]),s=m(a),N=r,u=s["".concat(d,".").concat(N)]||s[N]||k[N]||i;return a?n.createElement(u,l(l({ref:t},o),{},{components:a})):n.createElement(u,l({ref:t},o))}));function N(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=s;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var m=2;m{a.r(t),a.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>k,frontMatter:()=>i,metadata:()=>p,toc:()=>m});var n=a(7896),r=(a(2784),a(876));const i={id:"TreeChangeHandlers",title:"Interface: TreeChangeHandlers",sidebar_label:"TreeChangeHandlers",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeChangeHandlers",id:"api/interfaces/TreeChangeHandlers",title:"Interface: TreeChangeHandlers",description:"Type parameters",source:"@site/docs/api/interfaces/TreeChangeHandlers.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeChangeHandlers",permalink:"/docs/api/interfaces/TreeChangeHandlers",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeChangeHandlers",title:"Interface: TreeChangeHandlers",sidebar_label:"TreeChangeHandlers",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeChangeActions",permalink:"/docs/api/interfaces/TreeChangeActions"},next:{title:"TreeConfiguration",permalink:"/docs/api/interfaces/TreeConfiguration"}},d={},m=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"onAbortRenamingItem",id:"onabortrenamingitem",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"onCollapseItem",id:"oncollapseitem",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"onDrop",id:"ondrop",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-2",level:4},{value:"onExpandItem",id:"onexpanditem",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"onFocusItem",id:"onfocusitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-4",level:4},{value:"onMissingChildren",id:"onmissingchildren",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Defined in",id:"defined-in-5",level:4},{value:"onMissingItems",id:"onmissingitems",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Defined in",id:"defined-in-6",level:4},{value:"onPrimaryAction",id:"onprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Defined in",id:"defined-in-7",level:4},{value:"onRegisterTree",id:"onregistertree",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Defined in",id:"defined-in-8",level:4},{value:"onRenameItem",id:"onrenameitem",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Defined in",id:"defined-in-9",level:4},{value:"onSelectItems",id:"onselectitems",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Defined in",id:"defined-in-10",level:4},{value:"onStartRenamingItem",id:"onstartrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-11",level:5},{value:"Defined in",id:"defined-in-11",level:4},{value:"onUnregisterTree",id:"onunregistertree",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-12",level:5},{value:"Defined in",id:"defined-in-12",level:4}],o={toc:m};function k(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},o,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeChangeHandlers"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentConfiguration"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps"},(0,r.kt)("inlineCode",{parentName:"a"},"UncontrolledTreeEnvironmentProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"onabortrenamingitem"},"onAbortRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onAbortRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L223"},"types.ts:223")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"oncollapseitem"},"onCollapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onCollapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L224"},"types.ts:224")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondrop"},"onDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onDrop"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L232"},"types.ts:232")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onexpanditem"},"onExpandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onExpandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L225"},"types.ts:225")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onfocusitem"},"onFocusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onFocusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L227"},"types.ts:227")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingchildren"},"onMissingChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L237"},"types.ts:237")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingitems"},"onMissingItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L236"},"types.ts:236")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onprimaryaction"},"onPrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onPrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L233"},"types.ts:233")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onregistertree"},"onRegisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRegisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L234"},"types.ts:234")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onrenameitem"},"onRenameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRenameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L222"},"types.ts:222")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onselectitems"},"onSelectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onSelectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L226"},"types.ts:226")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onstartrenamingitem"},"onStartRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onStartRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L221"},"types.ts:221")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onunregistertree"},"onUnregisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onUnregisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-12"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L235"},"types.ts:235")))}k.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>o,kt:()=>N});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var d=n.createContext({}),m=function(e){var t=n.useContext(d),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},o=function(e){var t=m(e.components);return n.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,o=p(e,["components","mdxType","originalType","parentName"]),s=m(a),N=r,c=s["".concat(d,".").concat(N)]||s[N]||k[N]||i;return a?n.createElement(c,l(l({ref:t},o),{},{components:a})):n.createElement(c,l({ref:t},o))}));function N(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=s;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var m=2;m{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>p,default:()=>k,frontMatter:()=>i,metadata:()=>l,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"TreeEnvironmentConfiguration",title:"Interface: TreeEnvironmentConfiguration",sidebar_label:"TreeEnvironmentConfiguration",sidebar_position:0,custom_edit_url:null},p=void 0,l={unversionedId:"api/interfaces/TreeEnvironmentConfiguration",id:"api/interfaces/TreeEnvironmentConfiguration",title:"Interface: TreeEnvironmentConfiguration",description:"Type parameters",source:"@site/docs/api/interfaces/TreeEnvironmentConfiguration.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeEnvironmentConfiguration",permalink:"/docs/api/interfaces/TreeEnvironmentConfiguration",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeEnvironmentConfiguration",title:"Interface: TreeEnvironmentConfiguration",sidebar_label:"TreeEnvironmentConfiguration",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeEnvironmentChangeActions",permalink:"/docs/api/interfaces/TreeEnvironmentChangeActions"},next:{title:"TreeEnvironmentContextProps",permalink:"/docs/api/interfaces/TreeEnvironmentContextProps"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"autoFocus",id:"autofocus",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"canDrag",id:"candrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"canDragAndDrop",id:"candraganddrop",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"canDropAt",id:"candropat",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"canDropBelowOpenFolders",id:"candropbelowopenfolders",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"canDropOnFolder",id:"candroponfolder",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"canDropOnNonFolder",id:"candroponnonfolder",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"canInvokePrimaryActionOnItemContainer",id:"caninvokeprimaryactiononitemcontainer",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"canRename",id:"canrename",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"canReorderItems",id:"canreorderitems",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"canSearch",id:"cansearch",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"canSearchByStartingTyping",id:"cansearchbystartingtyping",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"defaultInteractionMode",id:"defaultinteractionmode",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"disableArrowKeys",id:"disablearrowkeys",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"doesSearchMatchItem",id:"doessearchmatchitem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"getItemTitle",id:"getitemtitle",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-15",level:4},{value:"items",id:"items",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"keyboardBindings",id:"keyboardbindings",level:3},{value:"Defined in",id:"defined-in-17",level:4},{value:"liveDescriptors",id:"livedescriptors",level:3},{value:"Defined in",id:"defined-in-18",level:4},{value:"onAbortRenamingItem",id:"onabortrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"onCollapseItem",id:"oncollapseitem",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"onDrop",id:"ondrop",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"onExpandItem",id:"onexpanditem",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"onFocusItem",id:"onfocusitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"onMissingChildren",id:"onmissingchildren",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"onMissingItems",id:"onmissingitems",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"onPrimaryAction",id:"onprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-11",level:5},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"onRegisterTree",id:"onregistertree",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-12",level:5},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"onRenameItem",id:"onrenameitem",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Parameters",id:"parameters-13",level:5},{value:"Returns",id:"returns-13",level:5},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"onSelectItems",id:"onselectitems",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-14",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"onStartRenamingItem",id:"onstartrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-15",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"onUnregisterTree",id:"onunregistertree",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Parameters",id:"parameters-16",level:5},{value:"Returns",id:"returns-16",level:5},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"renderDepthOffset",id:"renderdepthoffset",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"renderDragBetweenLine",id:"renderdragbetweenline",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Parameters",id:"parameters-17",level:5},{value:"Returns",id:"returns-17",level:5},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"renderItem",id:"renderitem",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-18",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"renderItemArrow",id:"renderitemarrow",level:3},{value:"Type declaration",id:"type-declaration-19",level:4},{value:"Parameters",id:"parameters-19",level:5},{value:"Returns",id:"returns-19",level:5},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"renderItemTitle",id:"renderitemtitle",level:3},{value:"Type declaration",id:"type-declaration-20",level:4},{value:"Parameters",id:"parameters-20",level:5},{value:"Returns",id:"returns-20",level:5},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"renderItemsContainer",id:"renderitemscontainer",level:3},{value:"Type declaration",id:"type-declaration-21",level:4},{value:"Parameters",id:"parameters-21",level:5},{value:"Returns",id:"returns-21",level:5},{value:"Inherited from",id:"inherited-from-34",level:4},{value:"Defined in",id:"defined-in-37",level:4},{value:"renderLiveDescriptorContainer",id:"renderlivedescriptorcontainer",level:3},{value:"Type declaration",id:"type-declaration-22",level:4},{value:"Parameters",id:"parameters-22",level:5},{value:"Returns",id:"returns-22",level:5},{value:"Inherited from",id:"inherited-from-35",level:4},{value:"Defined in",id:"defined-in-38",level:4},{value:"renderRenameInput",id:"renderrenameinput",level:3},{value:"Type declaration",id:"type-declaration-23",level:4},{value:"Parameters",id:"parameters-23",level:5},{value:"Returns",id:"returns-23",level:5},{value:"Inherited from",id:"inherited-from-36",level:4},{value:"Defined in",id:"defined-in-39",level:4},{value:"renderSearchInput",id:"rendersearchinput",level:3},{value:"Type declaration",id:"type-declaration-24",level:4},{value:"Parameters",id:"parameters-24",level:5},{value:"Returns",id:"returns-24",level:5},{value:"Inherited from",id:"inherited-from-37",level:4},{value:"Defined in",id:"defined-in-40",level:4},{value:"renderTreeContainer",id:"rendertreecontainer",level:3},{value:"Type declaration",id:"type-declaration-25",level:4},{value:"Parameters",id:"parameters-25",level:5},{value:"Returns",id:"returns-25",level:5},{value:"Inherited from",id:"inherited-from-38",level:4},{value:"Defined in",id:"defined-in-41",level:4},{value:"shouldRenderChildren",id:"shouldrenderchildren",level:3},{value:"Type declaration",id:"type-declaration-26",level:4},{value:"Parameters",id:"parameters-26",level:5},{value:"Returns",id:"returns-26",level:5},{value:"Inherited from",id:"inherited-from-39",level:4},{value:"Defined in",id:"defined-in-42",level:4},{value:"showLiveDescription",id:"showlivedescription",level:3},{value:"Inherited from",id:"inherited-from-40",level:4},{value:"Defined in",id:"defined-in-43",level:4},{value:"viewState",id:"viewstate",level:3},{value:"Defined in",id:"defined-in-44",level:4}],m={toc:o};function k(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeCapabilities")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeChangeHandlers")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ExplicitDataSource"},(0,r.kt)("inlineCode",{parentName:"a"},"ExplicitDataSource")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeEnvironmentConfiguration"))),(0,r.kt)("p",{parentName:"li"},"\u21b3\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ControlledTreeEnvironmentProps"},(0,r.kt)("inlineCode",{parentName:"a"},"ControlledTreeEnvironmentProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"autofocus"},"autoFocus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"autoFocus"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#autofocus"},"autoFocus")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L174"},"types.ts:174")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candrag"},"canDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDrag"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candrag"},"canDrag")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L168"},"types.ts:168")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candraganddrop"},"canDragAndDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDragAndDrop"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candraganddrop"},"canDragAndDrop")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L164"},"types.ts:164")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropat"},"canDropAt"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropAt"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candropat"},"canDropAt")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L169"},"types.ts:169")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropbelowopenfolders"},"canDropBelowOpenFolders"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropBelowOpenFolders"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("p",null,"See Issue #148 or the sample at\n",(0,r.kt)("a",{parentName:"p",href:"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"},"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"),"\nfor details."),(0,r.kt)("p",null,"If enabled, dropping at the bottom of an open folder will drop the items\nin the parent folder below the hovered item instead of inside the folder\nat the top."),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candropbelowopenfolders"},"canDropBelowOpenFolders")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L195"},"types.ts:195")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponfolder"},"canDropOnFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candroponfolder"},"canDropOnFolder")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L165"},"types.ts:165")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponnonfolder"},"canDropOnNonFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnNonFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candroponnonfolder"},"canDropOnNonFolder")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L166"},"types.ts:166")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canInvokePrimaryActionOnItemContainer"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L170"},"types.ts:170")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canrename"},"canRename"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canRename"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#canrename"},"canRename")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L173"},"types.ts:173")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canreorderitems"},"canReorderItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canReorderItems"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#canreorderitems"},"canReorderItems")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L167"},"types.ts:167")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearch"},"canSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#cansearch"},"canSearch")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L171"},"types.ts:171")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearchbystartingtyping"},"canSearchByStartingTyping"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearchByStartingTyping"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#cansearchbystartingtyping"},"canSearchByStartingTyping")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L172"},"types.ts:172")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"defaultinteractionmode"},"defaultInteractionMode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"defaultInteractionMode"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/enums/InteractionMode"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionMode"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/InteractionManager"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionManager")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#defaultinteractionmode"},"defaultInteractionMode")),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L163"},"types.ts:163")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disablearrowkeys"},"disableArrowKeys"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"disableArrowKeys"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#disablearrowkeys"},"disableArrowKeys")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L197"},"types.ts:197")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"doessearchmatchitem"},"doesSearchMatchItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"doesSearchMatchItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemTitle")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#doessearchmatchitem"},"doesSearchMatchItem")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L175"},"types.ts:175")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"getitemtitle"},"getItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"getItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L292"},"types.ts:292")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"items"},"items"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"items"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,r.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ExplicitDataSource"},"ExplicitDataSource"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ExplicitDataSource#items"},"items")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L211"},"types.ts:211")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"keyboardbindings"},"keyboardBindings"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"keyboardBindings"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/KeyboardBindings"},(0,r.kt)("inlineCode",{parentName:"a"},"KeyboardBindings"))),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L290"},"types.ts:290")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"livedescriptors"},"liveDescriptors"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"liveDescriptors"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/LiveDescriptors"},(0,r.kt)("inlineCode",{parentName:"a"},"LiveDescriptors"))),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L291"},"types.ts:291")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onabortrenamingitem"},"onAbortRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onAbortRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onabortrenamingitem"},"onAbortRenamingItem")),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L223"},"types.ts:223")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"oncollapseitem"},"onCollapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onCollapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#oncollapseitem"},"onCollapseItem")),(0,r.kt)("h4",{id:"defined-in-20"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L224"},"types.ts:224")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondrop"},"onDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onDrop"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#ondrop"},"onDrop")),(0,r.kt)("h4",{id:"defined-in-21"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L232"},"types.ts:232")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onexpanditem"},"onExpandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onExpandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onexpanditem"},"onExpandItem")),(0,r.kt)("h4",{id:"defined-in-22"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L225"},"types.ts:225")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onfocusitem"},"onFocusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onFocusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onfocusitem"},"onFocusItem")),(0,r.kt)("h4",{id:"defined-in-23"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L227"},"types.ts:227")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingchildren"},"onMissingChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onmissingchildren"},"onMissingChildren")),(0,r.kt)("h4",{id:"defined-in-24"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L237"},"types.ts:237")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingitems"},"onMissingItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onmissingitems"},"onMissingItems")),(0,r.kt)("h4",{id:"defined-in-25"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L236"},"types.ts:236")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onprimaryaction"},"onPrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onPrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onprimaryaction"},"onPrimaryAction")),(0,r.kt)("h4",{id:"defined-in-26"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L233"},"types.ts:233")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onregistertree"},"onRegisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRegisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-12"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onregistertree"},"onRegisterTree")),(0,r.kt)("h4",{id:"defined-in-27"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L234"},"types.ts:234")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onrenameitem"},"onRenameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRenameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-13"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onrenameitem"},"onRenameItem")),(0,r.kt)("h4",{id:"defined-in-28"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L222"},"types.ts:222")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onselectitems"},"onSelectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onSelectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-14"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onselectitems"},"onSelectItems")),(0,r.kt)("h4",{id:"defined-in-29"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L226"},"types.ts:226")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onstartrenamingitem"},"onStartRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onStartRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-15"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onstartrenamingitem"},"onStartRenamingItem")),(0,r.kt)("h4",{id:"defined-in-30"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L221"},"types.ts:221")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onunregistertree"},"onUnregisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onUnregisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-16"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onunregistertree"},"onUnregisterTree")),(0,r.kt)("h4",{id:"defined-in-31"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L235"},"types.ts:235")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdepthoffset"},"renderDepthOffset"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDepthOffset"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderdepthoffset"},"renderDepthOffset")),(0,r.kt)("h4",{id:"defined-in-32"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L136"},"types.ts:136")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdragbetweenline"},"renderDragBetweenLine"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDragBetweenLine"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"lineProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-17"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.draggingPosition")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.lineProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderdragbetweenline"},"renderDragBetweenLine")),(0,r.kt)("h4",{id:"defined-in-33"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L122"},"types.ts:122")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitem"},"renderItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"arrow"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-18"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.arrow")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitem"},"renderItem")),(0,r.kt)("h4",{id:"defined-in-34"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L76"},"types.ts:76")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemarrow"},"renderItemArrow"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemArrow"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-19"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-19"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-19"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitemarrow"},"renderItemArrow")),(0,r.kt)("h4",{id:"defined-in-35"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L93"},"types.ts:93")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemtitle"},"renderItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-20"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-20"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-20"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitemtitle"},"renderItemTitle")),(0,r.kt)("h4",{id:"defined-in-36"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L86"},"types.ts:86")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemscontainer"},"renderItemsContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemsContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"parentId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-21"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-21"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.parentId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-21"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitemscontainer"},"renderItemsContainer")),(0,r.kt)("h4",{id:"defined-in-37"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L108"},"types.ts:108")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderlivedescriptorcontainer"},"renderLiveDescriptorContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderLiveDescriptorContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-22"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-22"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-22"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-35"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderlivedescriptorcontainer"},"renderLiveDescriptorContainer")),(0,r.kt)("h4",{id:"defined-in-38"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L131"},"types.ts:131")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderrenameinput"},"renderRenameInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderRenameInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"formProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLFormElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-23"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-23"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.formProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLFormElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-23"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-36"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderrenameinput"},"renderRenameInput")),(0,r.kt)("h4",{id:"defined-in-39"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L99"},"types.ts:99")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendersearchinput"},"renderSearchInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderSearchInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-24"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-24"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")))),(0,r.kt)("h5",{id:"returns-24"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-37"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#rendersearchinput"},"renderSearchInput")),(0,r.kt)("h4",{id:"defined-in-40"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L127"},"types.ts:127")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendertreecontainer"},"renderTreeContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderTreeContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-25"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-25"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))))),(0,r.kt)("h5",{id:"returns-25"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-38"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#rendertreecontainer"},"renderTreeContainer")),(0,r.kt)("h4",{id:"defined-in-41"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L116"},"types.ts:116")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"shouldrenderchildren"},"shouldRenderChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"shouldRenderChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-26"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-26"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"never"),">")))),(0,r.kt)("h5",{id:"returns-26"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-39"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#shouldrenderchildren"},"shouldRenderChildren")),(0,r.kt)("h4",{id:"defined-in-42"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L181"},"types.ts:181")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"showlivedescription"},"showLiveDescription"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"showLiveDescription"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-40"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#showlivedescription"},"showLiveDescription")),(0,r.kt)("h4",{id:"defined-in-43"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L180"},"types.ts:180")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"viewstate"},"viewState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"viewState"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeViewState"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeViewState")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"),(0,r.kt)("h4",{id:"defined-in-44"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L289"},"types.ts:289")))}k.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>N});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),s=o(n),N=r,c=s["".concat(d,".").concat(N)]||s[N]||k[N]||i;return n?a.createElement(c,p(p({ref:t},m),{},{components:n})):a.createElement(c,p({ref:t},m))}));function N(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,p=new Array(i);p[0]=s;var l={};for(var d in t)hasOwnProperty.call(t,d)&&(l[d]=t[d]);l.originalType=e,l.mdxType="string"==typeof e?e:r,p[1]=l;for(var o=2;o{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>p,default:()=>k,frontMatter:()=>i,metadata:()=>l,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"TreeEnvironmentConfiguration",title:"Interface: TreeEnvironmentConfiguration",sidebar_label:"TreeEnvironmentConfiguration",sidebar_position:0,custom_edit_url:null},p=void 0,l={unversionedId:"api/interfaces/TreeEnvironmentConfiguration",id:"api/interfaces/TreeEnvironmentConfiguration",title:"Interface: TreeEnvironmentConfiguration",description:"Type parameters",source:"@site/docs/api/interfaces/TreeEnvironmentConfiguration.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeEnvironmentConfiguration",permalink:"/docs/api/interfaces/TreeEnvironmentConfiguration",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeEnvironmentConfiguration",title:"Interface: TreeEnvironmentConfiguration",sidebar_label:"TreeEnvironmentConfiguration",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeEnvironmentChangeActions",permalink:"/docs/api/interfaces/TreeEnvironmentChangeActions"},next:{title:"TreeEnvironmentContextProps",permalink:"/docs/api/interfaces/TreeEnvironmentContextProps"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"autoFocus",id:"autofocus",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"canDrag",id:"candrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"canDragAndDrop",id:"candraganddrop",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"canDropAt",id:"candropat",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"canDropBelowOpenFolders",id:"candropbelowopenfolders",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"canDropOnFolder",id:"candroponfolder",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"canDropOnNonFolder",id:"candroponnonfolder",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"canInvokePrimaryActionOnItemContainer",id:"caninvokeprimaryactiononitemcontainer",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"canRename",id:"canrename",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"canReorderItems",id:"canreorderitems",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"canSearch",id:"cansearch",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"canSearchByStartingTyping",id:"cansearchbystartingtyping",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"defaultInteractionMode",id:"defaultinteractionmode",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"disableArrowKeys",id:"disablearrowkeys",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"doesSearchMatchItem",id:"doessearchmatchitem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"getItemTitle",id:"getitemtitle",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-15",level:4},{value:"items",id:"items",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"keyboardBindings",id:"keyboardbindings",level:3},{value:"Defined in",id:"defined-in-17",level:4},{value:"liveDescriptors",id:"livedescriptors",level:3},{value:"Defined in",id:"defined-in-18",level:4},{value:"onAbortRenamingItem",id:"onabortrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"onCollapseItem",id:"oncollapseitem",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"onDrop",id:"ondrop",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"onExpandItem",id:"onexpanditem",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"onFocusItem",id:"onfocusitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"onMissingChildren",id:"onmissingchildren",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"onMissingItems",id:"onmissingitems",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"onPrimaryAction",id:"onprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-11",level:5},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"onRegisterTree",id:"onregistertree",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-12",level:5},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"onRenameItem",id:"onrenameitem",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Parameters",id:"parameters-13",level:5},{value:"Returns",id:"returns-13",level:5},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"onSelectItems",id:"onselectitems",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-14",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"onStartRenamingItem",id:"onstartrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-15",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"onUnregisterTree",id:"onunregistertree",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Parameters",id:"parameters-16",level:5},{value:"Returns",id:"returns-16",level:5},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"renderDepthOffset",id:"renderdepthoffset",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"renderDragBetweenLine",id:"renderdragbetweenline",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Parameters",id:"parameters-17",level:5},{value:"Returns",id:"returns-17",level:5},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"renderItem",id:"renderitem",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-18",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"renderItemArrow",id:"renderitemarrow",level:3},{value:"Type declaration",id:"type-declaration-19",level:4},{value:"Parameters",id:"parameters-19",level:5},{value:"Returns",id:"returns-19",level:5},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"renderItemTitle",id:"renderitemtitle",level:3},{value:"Type declaration",id:"type-declaration-20",level:4},{value:"Parameters",id:"parameters-20",level:5},{value:"Returns",id:"returns-20",level:5},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"renderItemsContainer",id:"renderitemscontainer",level:3},{value:"Type declaration",id:"type-declaration-21",level:4},{value:"Parameters",id:"parameters-21",level:5},{value:"Returns",id:"returns-21",level:5},{value:"Inherited from",id:"inherited-from-34",level:4},{value:"Defined in",id:"defined-in-37",level:4},{value:"renderLiveDescriptorContainer",id:"renderlivedescriptorcontainer",level:3},{value:"Type declaration",id:"type-declaration-22",level:4},{value:"Parameters",id:"parameters-22",level:5},{value:"Returns",id:"returns-22",level:5},{value:"Inherited from",id:"inherited-from-35",level:4},{value:"Defined in",id:"defined-in-38",level:4},{value:"renderRenameInput",id:"renderrenameinput",level:3},{value:"Type declaration",id:"type-declaration-23",level:4},{value:"Parameters",id:"parameters-23",level:5},{value:"Returns",id:"returns-23",level:5},{value:"Inherited from",id:"inherited-from-36",level:4},{value:"Defined in",id:"defined-in-39",level:4},{value:"renderSearchInput",id:"rendersearchinput",level:3},{value:"Type declaration",id:"type-declaration-24",level:4},{value:"Parameters",id:"parameters-24",level:5},{value:"Returns",id:"returns-24",level:5},{value:"Inherited from",id:"inherited-from-37",level:4},{value:"Defined in",id:"defined-in-40",level:4},{value:"renderTreeContainer",id:"rendertreecontainer",level:3},{value:"Type declaration",id:"type-declaration-25",level:4},{value:"Parameters",id:"parameters-25",level:5},{value:"Returns",id:"returns-25",level:5},{value:"Inherited from",id:"inherited-from-38",level:4},{value:"Defined in",id:"defined-in-41",level:4},{value:"shouldRenderChildren",id:"shouldrenderchildren",level:3},{value:"Type declaration",id:"type-declaration-26",level:4},{value:"Parameters",id:"parameters-26",level:5},{value:"Returns",id:"returns-26",level:5},{value:"Inherited from",id:"inherited-from-39",level:4},{value:"Defined in",id:"defined-in-42",level:4},{value:"showLiveDescription",id:"showlivedescription",level:3},{value:"Inherited from",id:"inherited-from-40",level:4},{value:"Defined in",id:"defined-in-43",level:4},{value:"viewState",id:"viewstate",level:3},{value:"Defined in",id:"defined-in-44",level:4}],m={toc:o};function k(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeCapabilities")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeChangeHandlers")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ExplicitDataSource"},(0,r.kt)("inlineCode",{parentName:"a"},"ExplicitDataSource")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeEnvironmentConfiguration"))),(0,r.kt)("p",{parentName:"li"},"\u21b3\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ControlledTreeEnvironmentProps"},(0,r.kt)("inlineCode",{parentName:"a"},"ControlledTreeEnvironmentProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"autofocus"},"autoFocus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"autoFocus"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#autofocus"},"autoFocus")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L174"},"types.ts:174")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candrag"},"canDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDrag"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candrag"},"canDrag")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L168"},"types.ts:168")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candraganddrop"},"canDragAndDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDragAndDrop"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candraganddrop"},"canDragAndDrop")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L164"},"types.ts:164")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropat"},"canDropAt"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropAt"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candropat"},"canDropAt")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L169"},"types.ts:169")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropbelowopenfolders"},"canDropBelowOpenFolders"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropBelowOpenFolders"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("p",null,"See Issue #148 or the sample at\n",(0,r.kt)("a",{parentName:"p",href:"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"},"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"),"\nfor details."),(0,r.kt)("p",null,"If enabled, dropping at the bottom of an open folder will drop the items\nin the parent folder below the hovered item instead of inside the folder\nat the top."),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candropbelowopenfolders"},"canDropBelowOpenFolders")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L195"},"types.ts:195")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponfolder"},"canDropOnFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candroponfolder"},"canDropOnFolder")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L165"},"types.ts:165")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponnonfolder"},"canDropOnNonFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnNonFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#candroponnonfolder"},"canDropOnNonFolder")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L166"},"types.ts:166")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canInvokePrimaryActionOnItemContainer"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L170"},"types.ts:170")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canrename"},"canRename"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canRename"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#canrename"},"canRename")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L173"},"types.ts:173")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canreorderitems"},"canReorderItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canReorderItems"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#canreorderitems"},"canReorderItems")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L167"},"types.ts:167")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearch"},"canSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#cansearch"},"canSearch")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L171"},"types.ts:171")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearchbystartingtyping"},"canSearchByStartingTyping"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearchByStartingTyping"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#cansearchbystartingtyping"},"canSearchByStartingTyping")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L172"},"types.ts:172")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"defaultinteractionmode"},"defaultInteractionMode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"defaultInteractionMode"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/enums/InteractionMode"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionMode"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/InteractionManager"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionManager")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#defaultinteractionmode"},"defaultInteractionMode")),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L163"},"types.ts:163")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disablearrowkeys"},"disableArrowKeys"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"disableArrowKeys"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#disablearrowkeys"},"disableArrowKeys")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L197"},"types.ts:197")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"doessearchmatchitem"},"doesSearchMatchItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"doesSearchMatchItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemTitle")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#doessearchmatchitem"},"doesSearchMatchItem")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L175"},"types.ts:175")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"getitemtitle"},"getItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"getItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L292"},"types.ts:292")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"items"},"items"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"items"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,r.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ExplicitDataSource"},"ExplicitDataSource"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ExplicitDataSource#items"},"items")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L211"},"types.ts:211")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"keyboardbindings"},"keyboardBindings"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"keyboardBindings"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/KeyboardBindings"},(0,r.kt)("inlineCode",{parentName:"a"},"KeyboardBindings"))),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L290"},"types.ts:290")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"livedescriptors"},"liveDescriptors"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"liveDescriptors"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/LiveDescriptors"},(0,r.kt)("inlineCode",{parentName:"a"},"LiveDescriptors"))),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L291"},"types.ts:291")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onabortrenamingitem"},"onAbortRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onAbortRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onabortrenamingitem"},"onAbortRenamingItem")),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L223"},"types.ts:223")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"oncollapseitem"},"onCollapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onCollapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#oncollapseitem"},"onCollapseItem")),(0,r.kt)("h4",{id:"defined-in-20"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L224"},"types.ts:224")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondrop"},"onDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onDrop"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#ondrop"},"onDrop")),(0,r.kt)("h4",{id:"defined-in-21"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L232"},"types.ts:232")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onexpanditem"},"onExpandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onExpandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onexpanditem"},"onExpandItem")),(0,r.kt)("h4",{id:"defined-in-22"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L225"},"types.ts:225")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onfocusitem"},"onFocusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onFocusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onfocusitem"},"onFocusItem")),(0,r.kt)("h4",{id:"defined-in-23"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L227"},"types.ts:227")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingchildren"},"onMissingChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onmissingchildren"},"onMissingChildren")),(0,r.kt)("h4",{id:"defined-in-24"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L237"},"types.ts:237")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingitems"},"onMissingItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onmissingitems"},"onMissingItems")),(0,r.kt)("h4",{id:"defined-in-25"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L236"},"types.ts:236")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onprimaryaction"},"onPrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onPrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onprimaryaction"},"onPrimaryAction")),(0,r.kt)("h4",{id:"defined-in-26"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L233"},"types.ts:233")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onregistertree"},"onRegisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRegisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-12"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onregistertree"},"onRegisterTree")),(0,r.kt)("h4",{id:"defined-in-27"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L234"},"types.ts:234")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onrenameitem"},"onRenameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRenameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-13"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onrenameitem"},"onRenameItem")),(0,r.kt)("h4",{id:"defined-in-28"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L222"},"types.ts:222")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onselectitems"},"onSelectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onSelectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-14"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onselectitems"},"onSelectItems")),(0,r.kt)("h4",{id:"defined-in-29"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L226"},"types.ts:226")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onstartrenamingitem"},"onStartRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onStartRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-15"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onstartrenamingitem"},"onStartRenamingItem")),(0,r.kt)("h4",{id:"defined-in-30"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L221"},"types.ts:221")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onunregistertree"},"onUnregisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onUnregisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-16"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers#onunregistertree"},"onUnregisterTree")),(0,r.kt)("h4",{id:"defined-in-31"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L235"},"types.ts:235")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdepthoffset"},"renderDepthOffset"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDepthOffset"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderdepthoffset"},"renderDepthOffset")),(0,r.kt)("h4",{id:"defined-in-32"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L136"},"types.ts:136")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdragbetweenline"},"renderDragBetweenLine"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDragBetweenLine"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"lineProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-17"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.draggingPosition")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.lineProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderdragbetweenline"},"renderDragBetweenLine")),(0,r.kt)("h4",{id:"defined-in-33"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L122"},"types.ts:122")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitem"},"renderItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"arrow"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-18"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.arrow")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitem"},"renderItem")),(0,r.kt)("h4",{id:"defined-in-34"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L76"},"types.ts:76")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemarrow"},"renderItemArrow"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemArrow"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-19"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-19"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-19"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitemarrow"},"renderItemArrow")),(0,r.kt)("h4",{id:"defined-in-35"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L93"},"types.ts:93")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemtitle"},"renderItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-20"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-20"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-20"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitemtitle"},"renderItemTitle")),(0,r.kt)("h4",{id:"defined-in-36"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L86"},"types.ts:86")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemscontainer"},"renderItemsContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemsContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"parentId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-21"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-21"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.parentId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-21"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderitemscontainer"},"renderItemsContainer")),(0,r.kt)("h4",{id:"defined-in-37"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L108"},"types.ts:108")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderlivedescriptorcontainer"},"renderLiveDescriptorContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderLiveDescriptorContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-22"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-22"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-22"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-35"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderlivedescriptorcontainer"},"renderLiveDescriptorContainer")),(0,r.kt)("h4",{id:"defined-in-38"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L131"},"types.ts:131")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderrenameinput"},"renderRenameInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderRenameInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"formProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLFormElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-23"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-23"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.formProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLFormElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-23"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-36"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#renderrenameinput"},"renderRenameInput")),(0,r.kt)("h4",{id:"defined-in-39"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L99"},"types.ts:99")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendersearchinput"},"renderSearchInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderSearchInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-24"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-24"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")))),(0,r.kt)("h5",{id:"returns-24"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-37"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#rendersearchinput"},"renderSearchInput")),(0,r.kt)("h4",{id:"defined-in-40"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L127"},"types.ts:127")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendertreecontainer"},"renderTreeContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderTreeContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-25"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-25"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))))),(0,r.kt)("h5",{id:"returns-25"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-38"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps#rendertreecontainer"},"renderTreeContainer")),(0,r.kt)("h4",{id:"defined-in-41"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L116"},"types.ts:116")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"shouldrenderchildren"},"shouldRenderChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"shouldRenderChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-26"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-26"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"never"),">")))),(0,r.kt)("h5",{id:"returns-26"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-39"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#shouldrenderchildren"},"shouldRenderChildren")),(0,r.kt)("h4",{id:"defined-in-42"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L181"},"types.ts:181")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"showlivedescription"},"showLiveDescription"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"showLiveDescription"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-40"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeCapabilities#showlivedescription"},"showLiveDescription")),(0,r.kt)("h4",{id:"defined-in-43"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L180"},"types.ts:180")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"viewstate"},"viewState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"viewState"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeViewState"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeViewState")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"),(0,r.kt)("h4",{id:"defined-in-44"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L289"},"types.ts:289")))}k.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>N});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),s=o(n),N=r,c=s["".concat(d,".").concat(N)]||s[N]||k[N]||i;return n?a.createElement(c,p(p({ref:t},m),{},{components:n})):a.createElement(c,p({ref:t},m))}));function N(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,p=new Array(i);p[0]=s;var l={};for(var d in t)hasOwnProperty.call(t,d)&&(l[d]=t[d]);l.originalType=e,l.mdxType="string"==typeof e?e:r,p[1]=l;for(var o=2;o{a.r(t),a.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>p,toc:()=>m});var n=a(7896),r=(a(2784),a(876));const i={id:"TreeDataProvider",title:"Interface: TreeDataProvider",sidebar_label:"TreeDataProvider",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeDataProvider",id:"api/interfaces/TreeDataProvider",title:"Interface: TreeDataProvider",description:"Type parameters",source:"@site/docs/api/interfaces/TreeDataProvider.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeDataProvider",permalink:"/docs/api/interfaces/TreeDataProvider",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeDataProvider",title:"Interface: TreeDataProvider",sidebar_label:"TreeDataProvider",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeContextProps",permalink:"/docs/api/interfaces/TreeContextProps"},next:{title:"TreeEnvironmentChangeActions",permalink:"/docs/api/interfaces/TreeEnvironmentChangeActions"}},d={},m=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Implemented by",id:"implemented-by",level:2},{value:"Properties",id:"properties",level:2},{value:"getTreeItem",id:"gettreeitem",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"getTreeItems",id:"gettreeitems",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"onChangeItemChildren",id:"onchangeitemchildren",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-2",level:4},{value:"onDidChangeTreeData",id:"ondidchangetreedata",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"onRenameItem",id:"onrenameitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-4",level:4}],o={toc:m};function s(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},o,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h2",{id:"implemented-by"},"Implemented by"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/classes/StaticTreeDataProvider"},(0,r.kt)("inlineCode",{parentName:"a"},"StaticTreeDataProvider")))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"gettreeitem"},"getTreeItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"getTreeItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L445"},"types.ts:445")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"gettreeitems"},"getTreeItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"getTreeItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">","[]",">"),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">","[]",">"),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">","[]",">"),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L446"},"types.ts:446")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onchangeitemchildren"},"onChangeItemChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onChangeItemChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"newChildren"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"newChildren"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"newChildren")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L448"},"types.ts:448")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondidchangetreedata"},"onDidChangeTreeData"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onDidChangeTreeData"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"listener"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"changedItemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void"),") => ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#disposable"},(0,r.kt)("inlineCode",{parentName:"a"},"Disposable"))),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"listener"),"): ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#disposable"},(0,r.kt)("inlineCode",{parentName:"a"},"Disposable"))),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"listener")),(0,r.kt)("td",{parentName:"tr",align:"left"},"(",(0,r.kt)("inlineCode",{parentName:"td"},"changedItemIds"),": ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"td"},"void"))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#disposable"},(0,r.kt)("inlineCode",{parentName:"a"},"Disposable"))),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L442"},"types.ts:442")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onrenameitem"},"onRenameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRenameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L447"},"types.ts:447")))}s.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>o,kt:()=>c});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var d=n.createContext({}),m=function(e){var t=n.useContext(d),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},o=function(e){var t=m(e.components);return n.createElement(d.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},k=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,o=p(e,["components","mdxType","originalType","parentName"]),k=m(a),c=r,N=k["".concat(d,".").concat(c)]||k[c]||s[c]||i;return a?n.createElement(N,l(l({ref:t},o),{},{components:a})):n.createElement(N,l({ref:t},o))}));function c(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=k;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var m=2;m{a.r(t),a.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>p,toc:()=>m});var n=a(7896),r=(a(2784),a(876));const i={id:"TreeDataProvider",title:"Interface: TreeDataProvider",sidebar_label:"TreeDataProvider",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeDataProvider",id:"api/interfaces/TreeDataProvider",title:"Interface: TreeDataProvider",description:"Type parameters",source:"@site/docs/api/interfaces/TreeDataProvider.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeDataProvider",permalink:"/docs/api/interfaces/TreeDataProvider",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeDataProvider",title:"Interface: TreeDataProvider",sidebar_label:"TreeDataProvider",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeContextProps",permalink:"/docs/api/interfaces/TreeContextProps"},next:{title:"TreeEnvironmentChangeActions",permalink:"/docs/api/interfaces/TreeEnvironmentChangeActions"}},d={},m=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Implemented by",id:"implemented-by",level:2},{value:"Properties",id:"properties",level:2},{value:"getTreeItem",id:"gettreeitem",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"getTreeItems",id:"gettreeitems",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"onChangeItemChildren",id:"onchangeitemchildren",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-2",level:4},{value:"onDidChangeTreeData",id:"ondidchangetreedata",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"onRenameItem",id:"onrenameitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-4",level:4}],o={toc:m};function s(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},o,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h2",{id:"implemented-by"},"Implemented by"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/classes/StaticTreeDataProvider"},(0,r.kt)("inlineCode",{parentName:"a"},"StaticTreeDataProvider")))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"gettreeitem"},"getTreeItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"getTreeItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L445"},"types.ts:445")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"gettreeitems"},"getTreeItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"getTreeItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">","[]",">"),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">","[]",">"),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">","[]",">"),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L446"},"types.ts:446")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onchangeitemchildren"},"onChangeItemChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onChangeItemChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"newChildren"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"newChildren"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"newChildren")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L448"},"types.ts:448")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondidchangetreedata"},"onDidChangeTreeData"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onDidChangeTreeData"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"listener"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"changedItemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void"),") => ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#disposable"},(0,r.kt)("inlineCode",{parentName:"a"},"Disposable"))),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"listener"),"): ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#disposable"},(0,r.kt)("inlineCode",{parentName:"a"},"Disposable"))),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"listener")),(0,r.kt)("td",{parentName:"tr",align:"left"},"(",(0,r.kt)("inlineCode",{parentName:"td"},"changedItemIds"),": ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"td"},"void"))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#disposable"},(0,r.kt)("inlineCode",{parentName:"a"},"Disposable"))),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L442"},"types.ts:442")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onrenameitem"},"onRenameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRenameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L447"},"types.ts:447")))}s.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>o,kt:()=>c});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var d=n.createContext({}),m=function(e){var t=n.useContext(d),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},o=function(e){var t=m(e.components);return n.createElement(d.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},k=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,o=p(e,["components","mdxType","originalType","parentName"]),k=m(a),c=r,N=k["".concat(d,".").concat(c)]||k[c]||s[c]||i;return a?n.createElement(N,l(l({ref:t},o),{},{components:a})):n.createElement(N,l({ref:t},o))}));function c(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=k;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var m=2;m{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>s,frontMatter:()=>o,metadata:()=>l,toc:()=>p});var r=n(7896),i=(n(2784),n(876));const o={id:"InteractionMode",title:"Enumeration: InteractionMode",sidebar_label:"InteractionMode",sidebar_position:0,custom_edit_url:null},a=void 0,l={unversionedId:"api/enums/InteractionMode",id:"api/enums/InteractionMode",title:"Enumeration: InteractionMode",description:"Enumeration Members",source:"@site/docs/api/enums/InteractionMode.md",sourceDirName:"api/enums",slug:"/api/enums/InteractionMode",permalink:"/docs/api/enums/InteractionMode",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"InteractionMode",title:"Enumeration: InteractionMode",sidebar_label:"InteractionMode",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"Exports",permalink:"/docs/api/modules"},next:{title:"StaticTreeDataProvider",permalink:"/docs/api/classes/StaticTreeDataProvider"}},c={},p=[{value:"Enumeration Members",id:"enumeration-members",level:2},{value:"ClickArrowToExpand",id:"clickarrowtoexpand",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"ClickItemToExpand",id:"clickitemtoexpand",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"DoubleClickItemToExpand",id:"doubleclickitemtoexpand",level:3},{value:"Defined in",id:"defined-in-2",level:4}],d={toc:p};function s(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,r.Z)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"enumeration-members"},"Enumeration Members"),(0,i.kt)("h3",{id:"clickarrowtoexpand"},"ClickArrowToExpand"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"ClickArrowToExpand")," = ",(0,i.kt)("inlineCode",{parentName:"p"},'"click-arrow-to-expand"')),(0,i.kt)("h4",{id:"defined-in"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L146"},"types.ts:146")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"clickitemtoexpand"},"ClickItemToExpand"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"ClickItemToExpand")," = ",(0,i.kt)("inlineCode",{parentName:"p"},'"click-item-to-expand"')),(0,i.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L145"},"types.ts:145")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"doubleclickitemtoexpand"},"DoubleClickItemToExpand"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"DoubleClickItemToExpand")," = ",(0,i.kt)("inlineCode",{parentName:"p"},'"double-click-item-to-expand"')),(0,i.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L144"},"types.ts:144")))}s.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>m});var r=n(2784);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=r.createContext({}),p=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},d=function(e){var t=p(e.components);return r.createElement(c.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,o=e.originalType,c=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),u=p(n),m=i,f=u["".concat(c,".").concat(m)]||u[m]||s[m]||o;return n?r.createElement(f,a(a({ref:t},d),{},{components:n})):r.createElement(f,a({ref:t},d))}));function m(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=n.length,a=new Array(o);a[0]=u;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l.mdxType="string"==typeof e?e:i,a[1]=l;for(var p=2;p{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>s,frontMatter:()=>o,metadata:()=>l,toc:()=>p});var r=n(7896),i=(n(2784),n(876));const o={id:"InteractionMode",title:"Enumeration: InteractionMode",sidebar_label:"InteractionMode",sidebar_position:0,custom_edit_url:null},a=void 0,l={unversionedId:"api/enums/InteractionMode",id:"api/enums/InteractionMode",title:"Enumeration: InteractionMode",description:"Enumeration Members",source:"@site/docs/api/enums/InteractionMode.md",sourceDirName:"api/enums",slug:"/api/enums/InteractionMode",permalink:"/docs/api/enums/InteractionMode",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"InteractionMode",title:"Enumeration: InteractionMode",sidebar_label:"InteractionMode",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"Exports",permalink:"/docs/api/modules"},next:{title:"StaticTreeDataProvider",permalink:"/docs/api/classes/StaticTreeDataProvider"}},c={},p=[{value:"Enumeration Members",id:"enumeration-members",level:2},{value:"ClickArrowToExpand",id:"clickarrowtoexpand",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"ClickItemToExpand",id:"clickitemtoexpand",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"DoubleClickItemToExpand",id:"doubleclickitemtoexpand",level:3},{value:"Defined in",id:"defined-in-2",level:4}],d={toc:p};function s(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,r.Z)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"enumeration-members"},"Enumeration Members"),(0,i.kt)("h3",{id:"clickarrowtoexpand"},"ClickArrowToExpand"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"ClickArrowToExpand")," = ",(0,i.kt)("inlineCode",{parentName:"p"},'"click-arrow-to-expand"')),(0,i.kt)("h4",{id:"defined-in"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L146"},"types.ts:146")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"clickitemtoexpand"},"ClickItemToExpand"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"ClickItemToExpand")," = ",(0,i.kt)("inlineCode",{parentName:"p"},'"click-item-to-expand"')),(0,i.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L145"},"types.ts:145")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"doubleclickitemtoexpand"},"DoubleClickItemToExpand"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"DoubleClickItemToExpand")," = ",(0,i.kt)("inlineCode",{parentName:"p"},'"double-click-item-to-expand"')),(0,i.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L144"},"types.ts:144")))}s.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>m});var r=n(2784);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=r.createContext({}),p=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},d=function(e){var t=p(e.components);return r.createElement(c.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,o=e.originalType,c=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),u=p(n),m=i,f=u["".concat(c,".").concat(m)]||u[m]||s[m]||o;return n?r.createElement(f,a(a({ref:t},d),{},{components:n})):r.createElement(f,a({ref:t},d))}));function m(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=n.length,a=new Array(o);a[0]=u;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l.mdxType="string"==typeof e?e:i,a[1]=l;for(var p=2;p{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>p,toc:()=>d});var r=n(7896),a=(n(2784),n(876));const i={id:"TreeItem",title:"Interface: TreeItem",sidebar_label:"TreeItem",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeItem",id:"api/interfaces/TreeItem",title:"Interface: TreeItem",description:"Type parameters",source:"@site/docs/api/interfaces/TreeItem.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeItem",permalink:"/docs/api/interfaces/TreeItem",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeItem",title:"Interface: TreeItem",sidebar_label:"TreeItem",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeInformation",permalink:"/docs/api/interfaces/TreeInformation"},next:{title:"TreeItemActions",permalink:"/docs/api/interfaces/TreeItemActions"}},o={},d=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Properties",id:"properties",level:2},{value:"canMove",id:"canmove",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"canRename",id:"canrename",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"children",id:"children",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"data",id:"data",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"index",id:"index",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"isFolder",id:"isfolder",level:3},{value:"Defined in",id:"defined-in-5",level:4}],c={toc:d};function s(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"T")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"any"))))),(0,a.kt)("h2",{id:"properties"},"Properties"),(0,a.kt)("h3",{id:"canmove"},"canMove"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"canMove"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L15"},"types.ts:15")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"canrename"},"canRename"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"canRename"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L16"},"types.ts:16")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"children"},"children"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"children"),": ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]"),(0,a.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L12"},"types.ts:12")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"data"},"data"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"data"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"T")),(0,a.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L17"},"types.ts:17")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"index"},"index"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"index"),": ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,a.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L11"},"types.ts:11")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"isfolder"},"isFolder"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isFolder"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L13"},"types.ts:13")))}s.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>u});var r=n(2784);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var o=r.createContext({}),d=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},c=function(e){var t=d(e.components);return r.createElement(o.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,o=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),m=d(n),u=a,f=m["".concat(o,".").concat(u)]||m[u]||s[u]||i;return n?r.createElement(f,l(l({ref:t},c),{},{components:n})):r.createElement(f,l({ref:t},c))}));function u(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,l=new Array(i);l[0]=m;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:a,l[1]=p;for(var d=2;d{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>p,toc:()=>d});var r=n(7896),a=(n(2784),n(876));const i={id:"TreeItem",title:"Interface: TreeItem",sidebar_label:"TreeItem",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeItem",id:"api/interfaces/TreeItem",title:"Interface: TreeItem",description:"Type parameters",source:"@site/docs/api/interfaces/TreeItem.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeItem",permalink:"/docs/api/interfaces/TreeItem",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeItem",title:"Interface: TreeItem",sidebar_label:"TreeItem",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeInformation",permalink:"/docs/api/interfaces/TreeInformation"},next:{title:"TreeItemActions",permalink:"/docs/api/interfaces/TreeItemActions"}},o={},d=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Properties",id:"properties",level:2},{value:"canMove",id:"canmove",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"canRename",id:"canrename",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"children",id:"children",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"data",id:"data",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"index",id:"index",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"isFolder",id:"isfolder",level:3},{value:"Defined in",id:"defined-in-5",level:4}],c={toc:d};function s(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"T")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"any"))))),(0,a.kt)("h2",{id:"properties"},"Properties"),(0,a.kt)("h3",{id:"canmove"},"canMove"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"canMove"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L15"},"types.ts:15")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"canrename"},"canRename"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"canRename"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L16"},"types.ts:16")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"children"},"children"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"children"),": ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]"),(0,a.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L12"},"types.ts:12")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"data"},"data"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"data"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"T")),(0,a.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L17"},"types.ts:17")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"index"},"index"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"index"),": ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,a.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L11"},"types.ts:11")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"isfolder"},"isFolder"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isFolder"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L13"},"types.ts:13")))}s.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>u});var r=n(2784);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var o=r.createContext({}),d=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},c=function(e){var t=d(e.components);return r.createElement(o.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,o=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),m=d(n),u=a,f=m["".concat(o,".").concat(u)]||m[u]||s[u]||i;return n?r.createElement(f,l(l({ref:t},c),{},{components:n})):r.createElement(f,l({ref:t},c))}));function u(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,l=new Array(i);l[0]=m;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:a,l[1]=p;for(var d=2;d{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>d,frontMatter:()=>a,metadata:()=>o,toc:()=>s});var i=r(7896),n=(r(2784),r(876));const a={id:"LiveDescriptors",title:"Interface: LiveDescriptors",sidebar_label:"LiveDescriptors",sidebar_position:0,custom_edit_url:null},l=void 0,o={unversionedId:"api/interfaces/LiveDescriptors",id:"api/interfaces/LiveDescriptors",title:"Interface: LiveDescriptors",description:"Live descriptors are written in an aria live region describing the state of the",source:"@site/docs/api/interfaces/LiveDescriptors.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/LiveDescriptors",permalink:"/docs/api/interfaces/LiveDescriptors",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"LiveDescriptors",title:"Interface: LiveDescriptors",sidebar_label:"LiveDescriptors",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"LinearItem",permalink:"/docs/api/interfaces/LinearItem"},next:{title:"TreeCapabilities",permalink:"/docs/api/interfaces/TreeCapabilities"}},p={},s=[{value:"Properties",id:"properties",level:2},{value:"introduction",id:"introduction",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"programmaticallyDragging",id:"programmaticallydragging",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"programmaticallyDraggingTarget",id:"programmaticallydraggingtarget",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"renamingItem",id:"renamingitem",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"searching",id:"searching",level:3},{value:"Defined in",id:"defined-in-4",level:4}],c={toc:s};function d(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,i.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("p",null,"Live descriptors are written in an aria live region describing the state of the\ntree to accessibility readers. They are displayed in a visually hidden area at the\nbottom of the tree. Each descriptor composes a HTML string. Variables in the form\nof {variableName} can be used."),(0,n.kt)("p",null,"The {keybinding:bindingname} variable refers to a specific keybinding, i.e. {keybinding:primaryAction}\nis a valid variable."),(0,n.kt)("p",null,"See the implementation of the ",(0,n.kt)("inlineCode",{parentName:"p"},"defaultLiveDescriptors")," for more details."),(0,n.kt)("h2",{id:"properties"},"Properties"),(0,n.kt)("h3",{id:"introduction"},"introduction"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"introduction"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"Supports the following variables:\n{treeLabel} {keybinding:bindingname}"),(0,n.kt)("h4",{id:"defined-in"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L495"},"types.ts:495")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"programmaticallydragging"},"programmaticallyDragging"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"programmaticallyDragging"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"Supports the following variables:\n{dropTarget} {dragItems} {keybinding:bindingname}"),(0,n.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L513"},"types.ts:513")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"programmaticallydraggingtarget"},"programmaticallyDraggingTarget"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"programmaticallyDraggingTarget"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"Will be displayed in addition to the programmaticallyDragging description,\nbut with the aria-live attribute assertive."),(0,n.kt)("p",null,"Supports the following variables:\n{dropTarget} {dragItems} {keybinding:bindingname}"),(0,n.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L522"},"types.ts:522")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"renamingitem"},"renamingItem"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"renamingItem"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"Supports the following variables:\n{renamingItem} {keybinding:bindingname}"),(0,n.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L501"},"types.ts:501")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"searching"},"searching"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"searching"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"Supports the following variables:\n{keybinding:bindingname}"),(0,n.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L507"},"types.ts:507")))}d.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>u});var i=r(2784);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function l(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var p=i.createContext({}),s=function(e){var t=i.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},c=function(e){var t=s(e.components);return i.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},g=i.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,p=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),g=s(r),u=n,m=g["".concat(p,".").concat(u)]||g[u]||d[u]||a;return r?i.createElement(m,l(l({ref:t},c),{},{components:r})):i.createElement(m,l({ref:t},c))}));function u(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,l=new Array(a);l[0]=g;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:n,l[1]=o;for(var s=2;s{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>d,frontMatter:()=>a,metadata:()=>o,toc:()=>s});var i=r(7896),n=(r(2784),r(876));const a={id:"LiveDescriptors",title:"Interface: LiveDescriptors",sidebar_label:"LiveDescriptors",sidebar_position:0,custom_edit_url:null},l=void 0,o={unversionedId:"api/interfaces/LiveDescriptors",id:"api/interfaces/LiveDescriptors",title:"Interface: LiveDescriptors",description:"Live descriptors are written in an aria live region describing the state of the",source:"@site/docs/api/interfaces/LiveDescriptors.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/LiveDescriptors",permalink:"/docs/api/interfaces/LiveDescriptors",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"LiveDescriptors",title:"Interface: LiveDescriptors",sidebar_label:"LiveDescriptors",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"LinearItem",permalink:"/docs/api/interfaces/LinearItem"},next:{title:"TreeCapabilities",permalink:"/docs/api/interfaces/TreeCapabilities"}},p={},s=[{value:"Properties",id:"properties",level:2},{value:"introduction",id:"introduction",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"programmaticallyDragging",id:"programmaticallydragging",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"programmaticallyDraggingTarget",id:"programmaticallydraggingtarget",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"renamingItem",id:"renamingitem",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"searching",id:"searching",level:3},{value:"Defined in",id:"defined-in-4",level:4}],c={toc:s};function d(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,i.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("p",null,"Live descriptors are written in an aria live region describing the state of the\ntree to accessibility readers. They are displayed in a visually hidden area at the\nbottom of the tree. Each descriptor composes a HTML string. Variables in the form\nof {variableName} can be used."),(0,n.kt)("p",null,"The {keybinding:bindingname} variable refers to a specific keybinding, i.e. {keybinding:primaryAction}\nis a valid variable."),(0,n.kt)("p",null,"See the implementation of the ",(0,n.kt)("inlineCode",{parentName:"p"},"defaultLiveDescriptors")," for more details."),(0,n.kt)("h2",{id:"properties"},"Properties"),(0,n.kt)("h3",{id:"introduction"},"introduction"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"introduction"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"Supports the following variables:\n{treeLabel} {keybinding:bindingname}"),(0,n.kt)("h4",{id:"defined-in"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L495"},"types.ts:495")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"programmaticallydragging"},"programmaticallyDragging"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"programmaticallyDragging"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"Supports the following variables:\n{dropTarget} {dragItems} {keybinding:bindingname}"),(0,n.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L513"},"types.ts:513")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"programmaticallydraggingtarget"},"programmaticallyDraggingTarget"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"programmaticallyDraggingTarget"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"Will be displayed in addition to the programmaticallyDragging description,\nbut with the aria-live attribute assertive."),(0,n.kt)("p",null,"Supports the following variables:\n{dropTarget} {dragItems} {keybinding:bindingname}"),(0,n.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L522"},"types.ts:522")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"renamingitem"},"renamingItem"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"renamingItem"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"Supports the following variables:\n{renamingItem} {keybinding:bindingname}"),(0,n.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L501"},"types.ts:501")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"searching"},"searching"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"searching"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("p",null,"Supports the following variables:\n{keybinding:bindingname}"),(0,n.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L507"},"types.ts:507")))}d.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>u});var i=r(2784);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function l(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var p=i.createContext({}),s=function(e){var t=i.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},c=function(e){var t=s(e.components);return i.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},g=i.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,p=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),g=s(r),u=n,m=g["".concat(p,".").concat(u)]||g[u]||d[u]||a;return r?i.createElement(m,l(l({ref:t},c),{},{components:r})):i.createElement(m,l({ref:t},c))}));function u(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,l=new Array(a);l[0]=g;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:n,l[1]=o;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>p,toc:()=>s});var n=r(7896),i=(r(2784),r(876));const a={id:"DraggingPositionItem",title:"Interface: DraggingPositionItem",sidebar_label:"DraggingPositionItem",sidebar_position:0,custom_edit_url:null},o=void 0,p={unversionedId:"api/interfaces/DraggingPositionItem",id:"api/interfaces/DraggingPositionItem",title:"Interface: DraggingPositionItem",description:"Hierarchy",source:"@site/docs/api/interfaces/DraggingPositionItem.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/DraggingPositionItem",permalink:"/docs/api/interfaces/DraggingPositionItem",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DraggingPositionItem",title:"Interface: DraggingPositionItem",sidebar_label:"DraggingPositionItem",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"DraggingPositionBetweenItems",permalink:"/docs/api/interfaces/DraggingPositionBetweenItems"},next:{title:"DraggingPositionRoot",permalink:"/docs/api/interfaces/DraggingPositionRoot"}},l={},s=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"depth",id:"depth",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"linearIndex",id:"linearindex",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"parentItem",id:"parentitem",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"targetItem",id:"targetitem",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"targetType",id:"targettype",level:3},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"treeId",id:"treeid",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-5",level:4}],d={toc:s};function c(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},(0,i.kt)("inlineCode",{parentName:"a"},"AbstractDraggingPosition"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("strong",{parentName:"p"},(0,i.kt)("inlineCode",{parentName:"strong"},"DraggingPositionItem"))))),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"depth"},"depth"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"depth"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#depth"},"depth")),(0,i.kt)("h4",{id:"defined-in"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L342"},"types.ts:342")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"linearindex"},"linearIndex"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"linearIndex"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#linearindex"},"linearIndex")),(0,i.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L341"},"types.ts:341")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"parentitem"},"parentItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"parentItem"),": ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,i.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,i.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L348"},"types.ts:348")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"targetitem"},"targetItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"targetItem"),": ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,i.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,i.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L347"},"types.ts:347")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"targettype"},"targetType"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"targetType"),": ",(0,i.kt)("inlineCode",{parentName:"p"},'"item"')),(0,i.kt)("h4",{id:"overrides"},"Overrides"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#targettype"},"targetType")),(0,i.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L346"},"types.ts:346")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"treeid"},"treeId"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"treeId"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#treeid"},"treeId")),(0,i.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L340"},"types.ts:340")))}c.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>d,kt:()=>m});var n=r(2784);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},d=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,l=e.parentName,d=p(e,["components","mdxType","originalType","parentName"]),g=s(r),m=i,u=g["".concat(l,".").concat(m)]||g[m]||c[m]||a;return r?n.createElement(u,o(o({ref:t},d),{},{components:r})):n.createElement(u,o({ref:t},d))}));function m(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=g;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeof e?e:i,o[1]=p;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>p,toc:()=>s});var n=r(7896),i=(r(2784),r(876));const a={id:"DraggingPositionItem",title:"Interface: DraggingPositionItem",sidebar_label:"DraggingPositionItem",sidebar_position:0,custom_edit_url:null},o=void 0,p={unversionedId:"api/interfaces/DraggingPositionItem",id:"api/interfaces/DraggingPositionItem",title:"Interface: DraggingPositionItem",description:"Hierarchy",source:"@site/docs/api/interfaces/DraggingPositionItem.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/DraggingPositionItem",permalink:"/docs/api/interfaces/DraggingPositionItem",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DraggingPositionItem",title:"Interface: DraggingPositionItem",sidebar_label:"DraggingPositionItem",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"DraggingPositionBetweenItems",permalink:"/docs/api/interfaces/DraggingPositionBetweenItems"},next:{title:"DraggingPositionRoot",permalink:"/docs/api/interfaces/DraggingPositionRoot"}},l={},s=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"depth",id:"depth",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"linearIndex",id:"linearindex",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"parentItem",id:"parentitem",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"targetItem",id:"targetitem",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"targetType",id:"targettype",level:3},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"treeId",id:"treeid",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-5",level:4}],d={toc:s};function c(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},(0,i.kt)("inlineCode",{parentName:"a"},"AbstractDraggingPosition"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("strong",{parentName:"p"},(0,i.kt)("inlineCode",{parentName:"strong"},"DraggingPositionItem"))))),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"depth"},"depth"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"depth"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#depth"},"depth")),(0,i.kt)("h4",{id:"defined-in"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L342"},"types.ts:342")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"linearindex"},"linearIndex"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"linearIndex"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#linearindex"},"linearIndex")),(0,i.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L341"},"types.ts:341")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"parentitem"},"parentItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"parentItem"),": ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,i.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,i.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L348"},"types.ts:348")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"targetitem"},"targetItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"targetItem"),": ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,i.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,i.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L347"},"types.ts:347")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"targettype"},"targetType"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"targetType"),": ",(0,i.kt)("inlineCode",{parentName:"p"},'"item"')),(0,i.kt)("h4",{id:"overrides"},"Overrides"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#targettype"},"targetType")),(0,i.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L346"},"types.ts:346")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"treeid"},"treeId"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"treeId"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#treeid"},"treeId")),(0,i.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L340"},"types.ts:340")))}c.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>d,kt:()=>m});var n=r(2784);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},d=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,l=e.parentName,d=p(e,["components","mdxType","originalType","parentName"]),g=s(r),m=i,u=g["".concat(l,".").concat(m)]||g[m]||c[m]||a;return r?n.createElement(u,o(o({ref:t},d),{},{components:r})):n.createElement(u,o({ref:t},d))}));function m(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=g;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeof e?e:i,o[1]=p;for(var s=2;s{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var i=n(7896),r=(n(2784),n(876));const a={id:"DraggingPositionBetweenItems",title:"Interface: DraggingPositionBetweenItems",sidebar_label:"DraggingPositionBetweenItems",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"api/interfaces/DraggingPositionBetweenItems",id:"api/interfaces/DraggingPositionBetweenItems",title:"Interface: DraggingPositionBetweenItems",description:"Hierarchy",source:"@site/docs/api/interfaces/DraggingPositionBetweenItems.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/DraggingPositionBetweenItems",permalink:"/docs/api/interfaces/DraggingPositionBetweenItems",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DraggingPositionBetweenItems",title:"Interface: DraggingPositionBetweenItems",sidebar_label:"DraggingPositionBetweenItems",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"DragAndDropContextProps",permalink:"/docs/api/interfaces/DragAndDropContextProps"},next:{title:"DraggingPositionItem",permalink:"/docs/api/interfaces/DraggingPositionItem"}},p={},s=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"childIndex",id:"childindex",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"depth",id:"depth",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"linePosition",id:"lineposition",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"linearIndex",id:"linearindex",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"parentItem",id:"parentitem",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"targetType",id:"targettype",level:3},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"treeId",id:"treeid",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-6",level:4}],d={toc:s};function c(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,i.Z)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},(0,r.kt)("inlineCode",{parentName:"a"},"AbstractDraggingPosition"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"DraggingPositionBetweenItems"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"childindex"},"childIndex"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"childIndex"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L353"},"types.ts:353")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"depth"},"depth"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#depth"},"depth")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L342"},"types.ts:342")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"lineposition"},"linePosition"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"linePosition"),": ",(0,r.kt)("inlineCode",{parentName:"p"},'"top"')," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},'"bottom"')),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L354"},"types.ts:354")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"linearindex"},"linearIndex"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"linearIndex"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#linearindex"},"linearIndex")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L341"},"types.ts:341")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"parentitem"},"parentItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"parentItem"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L355"},"types.ts:355")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"targettype"},"targetType"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"targetType"),": ",(0,r.kt)("inlineCode",{parentName:"p"},'"between-items"')),(0,r.kt)("h4",{id:"overrides"},"Overrides"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#targettype"},"targetType")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L352"},"types.ts:352")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeid"},"treeId"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#treeid"},"treeId")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L340"},"types.ts:340")))}c.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>m});var i=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var p=i.createContext({}),s=function(e){var t=i.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},d=function(e){var t=s(e.components);return i.createElement(p.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},g=i.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,p=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),g=s(n),m=r,u=g["".concat(p,".").concat(m)]||g[m]||c[m]||a;return n?i.createElement(u,o(o({ref:t},d),{},{components:n})):i.createElement(u,o({ref:t},d))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,o=new Array(a);o[0]=g;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:r,o[1]=l;for(var s=2;s{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var i=n(7896),r=(n(2784),n(876));const a={id:"DraggingPositionBetweenItems",title:"Interface: DraggingPositionBetweenItems",sidebar_label:"DraggingPositionBetweenItems",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"api/interfaces/DraggingPositionBetweenItems",id:"api/interfaces/DraggingPositionBetweenItems",title:"Interface: DraggingPositionBetweenItems",description:"Hierarchy",source:"@site/docs/api/interfaces/DraggingPositionBetweenItems.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/DraggingPositionBetweenItems",permalink:"/docs/api/interfaces/DraggingPositionBetweenItems",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DraggingPositionBetweenItems",title:"Interface: DraggingPositionBetweenItems",sidebar_label:"DraggingPositionBetweenItems",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"DragAndDropContextProps",permalink:"/docs/api/interfaces/DragAndDropContextProps"},next:{title:"DraggingPositionItem",permalink:"/docs/api/interfaces/DraggingPositionItem"}},p={},s=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"childIndex",id:"childindex",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"depth",id:"depth",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"linePosition",id:"lineposition",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"linearIndex",id:"linearindex",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"parentItem",id:"parentitem",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"targetType",id:"targettype",level:3},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"treeId",id:"treeid",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-6",level:4}],d={toc:s};function c(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,i.Z)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},(0,r.kt)("inlineCode",{parentName:"a"},"AbstractDraggingPosition"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"DraggingPositionBetweenItems"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"childindex"},"childIndex"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"childIndex"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L353"},"types.ts:353")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"depth"},"depth"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#depth"},"depth")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L342"},"types.ts:342")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"lineposition"},"linePosition"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"linePosition"),": ",(0,r.kt)("inlineCode",{parentName:"p"},'"top"')," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},'"bottom"')),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L354"},"types.ts:354")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"linearindex"},"linearIndex"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"linearIndex"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#linearindex"},"linearIndex")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L341"},"types.ts:341")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"parentitem"},"parentItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"parentItem"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L355"},"types.ts:355")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"targettype"},"targetType"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"targetType"),": ",(0,r.kt)("inlineCode",{parentName:"p"},'"between-items"')),(0,r.kt)("h4",{id:"overrides"},"Overrides"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#targettype"},"targetType")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L352"},"types.ts:352")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeid"},"treeId"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#treeid"},"treeId")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L340"},"types.ts:340")))}c.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>m});var i=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var p=i.createContext({}),s=function(e){var t=i.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},d=function(e){var t=s(e.components);return i.createElement(p.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},g=i.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,p=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),g=s(n),m=r,u=g["".concat(p,".").concat(m)]||g[m]||c[m]||a;return n?i.createElement(u,o(o({ref:t},d),{},{components:n})):i.createElement(u,o({ref:t},d))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,o=new Array(a);o[0]=g;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:r,o[1]=l;for(var s=2;s{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>m,frontMatter:()=>i,metadata:()=>p,toc:()=>o});var r=n(7896),a=(n(2784),n(876));const i={id:"TreeContextProps",title:"Interface: TreeContextProps",sidebar_label:"TreeContextProps",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeContextProps",id:"api/interfaces/TreeContextProps",title:"Interface: TreeContextProps",description:"Hierarchy",source:"@site/docs/api/interfaces/TreeContextProps.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeContextProps",permalink:"/docs/api/interfaces/TreeContextProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeContextProps",title:"Interface: TreeContextProps",sidebar_label:"TreeContextProps",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeConfiguration",permalink:"/docs/api/interfaces/TreeConfiguration"},next:{title:"TreeDataProvider",permalink:"/docs/api/interfaces/TreeDataProvider"}},d={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"getItemsLinearly",id:"getitemslinearly",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"renamingItem",id:"renamingitem",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"renderers",id:"renderers",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"rootItem",id:"rootitem",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"search",id:"search",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"setRenamingItem",id:"setrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-5",level:4},{value:"setSearch",id:"setsearch",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-6",level:4},{value:"treeId",id:"treeid",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"treeInformation",id:"treeinformation",level:3},{value:"Defined in",id:"defined-in-8",level:4},{value:"treeLabel",id:"treelabel",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"treeLabelledBy",id:"treelabelledby",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-10",level:4}],s={toc:o};function m(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("inlineCode",{parentName:"strong"},"TreeContextProps"))))),(0,a.kt)("h2",{id:"properties"},"Properties"),(0,a.kt)("h3",{id:"getitemslinearly"},"getItemsLinearly"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"getItemsLinearly"),": () => { ",(0,a.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,a.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }[]"),(0,a.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,a.kt)("p",null,"\u25b8 (): { ",(0,a.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,a.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }[]"),(0,a.kt)("h5",{id:"returns"},"Returns"),(0,a.kt)("p",null,"{ ",(0,a.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,a.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }[]"),(0,a.kt)("h4",{id:"defined-in"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L403"},"types.ts:403")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"renamingitem"},"renamingItem"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"renamingItem"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,a.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L399"},"types.ts:399")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"renderers"},"renderers"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"renderers"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"Required"),"<",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),"<",(0,a.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,a.kt)("inlineCode",{parentName:"p"},"never"),">",">"),(0,a.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L401"},"types.ts:401")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"rootitem"},"rootItem"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"rootItem"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#rootitem"},"rootItem")),(0,a.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L387"},"types.ts:387")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"search"},"search"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"search"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L397"},"types.ts:397")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"setrenamingitem"},"setRenamingItem"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"setRenamingItem"),": (",(0,a.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,a.kt)("p",null,"\u25b8 (",(0,a.kt)("inlineCode",{parentName:"p"},"item"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("h5",{id:"parameters"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"item")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"null")," ","|"," ",(0,a.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,a.kt)("h5",{id:"returns-1"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L400"},"types.ts:400")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"setsearch"},"setSearch"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"setSearch"),": (",(0,a.kt)("inlineCode",{parentName:"p"},"searchValue"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,a.kt)("p",null,"\u25b8 (",(0,a.kt)("inlineCode",{parentName:"p"},"searchValue"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("h5",{id:"parameters-1"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"searchValue")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"null")," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},"string"))))),(0,a.kt)("h5",{id:"returns-2"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L398"},"types.ts:398")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"treeid"},"treeId"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"treeId"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treeid"},"treeId")),(0,a.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L386"},"types.ts:386")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"treeinformation"},"treeInformation"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"treeInformation"),": ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeInformation"))),(0,a.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L402"},"types.ts:402")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"treelabel"},"treeLabel"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"treeLabel"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treelabel"},"treeLabel")),(0,a.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L388"},"types.ts:388")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"treelabelledby"},"treeLabelledBy"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"treeLabelledBy"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treelabelledby"},"treeLabelledBy")),(0,a.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L389"},"types.ts:389")))}m.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>k});var r=n(2784);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var d=r.createContext({}),o=function(e){var t=r.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},s=function(e){var t=o(e.components);return r.createElement(d.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},c=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,d=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),c=o(n),k=a,u=c["".concat(d,".").concat(k)]||c[k]||m[k]||i;return n?r.createElement(u,l(l({ref:t},s),{},{components:n})):r.createElement(u,l({ref:t},s))}));function k(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,l=new Array(i);l[0]=c;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:a,l[1]=p;for(var o=2;o{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>m,frontMatter:()=>i,metadata:()=>p,toc:()=>d});var r=n(7896),a=(n(2784),n(876));const i={id:"TreeContextProps",title:"Interface: TreeContextProps",sidebar_label:"TreeContextProps",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeContextProps",id:"api/interfaces/TreeContextProps",title:"Interface: TreeContextProps",description:"Hierarchy",source:"@site/docs/api/interfaces/TreeContextProps.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeContextProps",permalink:"/docs/api/interfaces/TreeContextProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeContextProps",title:"Interface: TreeContextProps",sidebar_label:"TreeContextProps",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeConfiguration",permalink:"/docs/api/interfaces/TreeConfiguration"},next:{title:"TreeDataProvider",permalink:"/docs/api/interfaces/TreeDataProvider"}},o={},d=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"getItemsLinearly",id:"getitemslinearly",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"renamingItem",id:"renamingitem",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"renderers",id:"renderers",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"rootItem",id:"rootitem",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"search",id:"search",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"setRenamingItem",id:"setrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-5",level:4},{value:"setSearch",id:"setsearch",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-6",level:4},{value:"treeId",id:"treeid",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"treeInformation",id:"treeinformation",level:3},{value:"Defined in",id:"defined-in-8",level:4},{value:"treeLabel",id:"treelabel",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"treeLabelledBy",id:"treelabelledby",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-10",level:4}],s={toc:d};function m(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("inlineCode",{parentName:"strong"},"TreeContextProps"))))),(0,a.kt)("h2",{id:"properties"},"Properties"),(0,a.kt)("h3",{id:"getitemslinearly"},"getItemsLinearly"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"getItemsLinearly"),": () => { ",(0,a.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,a.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }[]"),(0,a.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,a.kt)("p",null,"\u25b8 (): { ",(0,a.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,a.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }[]"),(0,a.kt)("h5",{id:"returns"},"Returns"),(0,a.kt)("p",null,"{ ",(0,a.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,a.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }[]"),(0,a.kt)("h4",{id:"defined-in"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L403"},"types.ts:403")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"renamingitem"},"renamingItem"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"renamingItem"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,a.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L399"},"types.ts:399")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"renderers"},"renderers"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"renderers"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"Required"),"<",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),"<",(0,a.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,a.kt)("inlineCode",{parentName:"p"},"never"),">",">"),(0,a.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L401"},"types.ts:401")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"rootitem"},"rootItem"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"rootItem"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#rootitem"},"rootItem")),(0,a.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L387"},"types.ts:387")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"search"},"search"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"search"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L397"},"types.ts:397")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"setrenamingitem"},"setRenamingItem"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"setRenamingItem"),": (",(0,a.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,a.kt)("p",null,"\u25b8 (",(0,a.kt)("inlineCode",{parentName:"p"},"item"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("h5",{id:"parameters"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"item")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"null")," ","|"," ",(0,a.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,a.kt)("h5",{id:"returns-1"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L400"},"types.ts:400")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"setsearch"},"setSearch"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"setSearch"),": (",(0,a.kt)("inlineCode",{parentName:"p"},"searchValue"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,a.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,a.kt)("p",null,"\u25b8 (",(0,a.kt)("inlineCode",{parentName:"p"},"searchValue"),"): ",(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("h5",{id:"parameters-1"},"Parameters"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,a.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"searchValue")),(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("inlineCode",{parentName:"td"},"null")," ","|"," ",(0,a.kt)("inlineCode",{parentName:"td"},"string"))))),(0,a.kt)("h5",{id:"returns-2"},"Returns"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"void")),(0,a.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L398"},"types.ts:398")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"treeid"},"treeId"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"treeId"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treeid"},"treeId")),(0,a.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L386"},"types.ts:386")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"treeinformation"},"treeInformation"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"treeInformation"),": ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeInformation"))),(0,a.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L402"},"types.ts:402")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"treelabel"},"treeLabel"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"treeLabel"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treelabel"},"treeLabel")),(0,a.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L388"},"types.ts:388")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"treelabelledby"},"treeLabelledBy"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"treeLabelledBy"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treelabelledby"},"treeLabelledBy")),(0,a.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L389"},"types.ts:389")))}m.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>k});var r=n(2784);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var o=r.createContext({}),d=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},s=function(e){var t=d(e.components);return r.createElement(o.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},c=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,o=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),c=d(n),k=a,u=c["".concat(o,".").concat(k)]||c[k]||m[k]||i;return n?r.createElement(u,l(l({ref:t},s),{},{components:n})):r.createElement(u,l({ref:t},s))}));function k(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,l=new Array(i);l[0]=c;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:a,l[1]=p;for(var d=2;d{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>c,frontMatter:()=>a,metadata:()=>o,toc:()=>d});var n=r(7896),i=(r(2784),r(876));const a={id:"TreeInformation",title:"Interface: TreeInformation",sidebar_label:"TreeInformation",sidebar_position:0,custom_edit_url:null},l=void 0,o={unversionedId:"api/interfaces/TreeInformation",id:"api/interfaces/TreeInformation",title:"Interface: TreeInformation",description:"Hierarchy",source:"@site/docs/api/interfaces/TreeInformation.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeInformation",permalink:"/docs/api/interfaces/TreeInformation",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeInformation",title:"Interface: TreeInformation",sidebar_label:"TreeInformation",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeEnvironmentRef",permalink:"/docs/api/interfaces/TreeEnvironmentRef"},next:{title:"TreeItem",permalink:"/docs/api/interfaces/TreeItem"}},p={},d=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"areItemsSelected",id:"areitemsselected",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"isFocused",id:"isfocused",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"isProgrammaticallyDragging",id:"isprogrammaticallydragging",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"isRenaming",id:"isrenaming",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"isSearching",id:"issearching",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"rootItem",id:"rootitem",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"search",id:"search",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"treeId",id:"treeid",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"treeLabel",id:"treelabel",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"treeLabelledBy",id:"treelabelledby",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-9",level:4}],s={toc:d};function c(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,i.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("strong",{parentName:"p"},(0,i.kt)("inlineCode",{parentName:"strong"},"TreeInformation"))),(0,i.kt)("p",{parentName:"li"},"\u21b3\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRef"},(0,i.kt)("inlineCode",{parentName:"a"},"TreeRef"))))),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"areitemsselected"},"areItemsSelected"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"areItemsSelected"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean")),(0,i.kt)("h4",{id:"defined-in"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L67"},"types.ts:67")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"isfocused"},"isFocused"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"isFocused"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean")),(0,i.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L69"},"types.ts:69")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"isprogrammaticallydragging"},"isProgrammaticallyDragging"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"isProgrammaticallyDragging"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean")),(0,i.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L72"},"types.ts:72")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"isrenaming"},"isRenaming"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"isRenaming"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean")),(0,i.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L68"},"types.ts:68")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"issearching"},"isSearching"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"isSearching"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean")),(0,i.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L70"},"types.ts:70")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"rootitem"},"rootItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"rootItem"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#rootitem"},"rootItem")),(0,i.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L387"},"types.ts:387")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"search"},"search"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"search"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L71"},"types.ts:71")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"treeid"},"treeId"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"treeId"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treeid"},"treeId")),(0,i.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L386"},"types.ts:386")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"treelabel"},"treeLabel"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"treeLabel"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treelabel"},"treeLabel")),(0,i.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L388"},"types.ts:388")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"treelabelledby"},"treeLabelledBy"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"treeLabelledBy"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treelabelledby"},"treeLabelledBy")),(0,i.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L389"},"types.ts:389")))}c.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>m});var n=r(2784);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var p=n.createContext({}),d=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=d(e.components);return n.createElement(p.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,p=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),f=d(r),m=i,u=f["".concat(p,".").concat(m)]||f[m]||c[m]||a;return r?n.createElement(u,l(l({ref:t},s),{},{components:r})):n.createElement(u,l({ref:t},s))}));function m(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,l=new Array(a);l[0]=f;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:i,l[1]=o;for(var d=2;d{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>c,frontMatter:()=>a,metadata:()=>o,toc:()=>d});var n=r(7896),i=(r(2784),r(876));const a={id:"TreeInformation",title:"Interface: TreeInformation",sidebar_label:"TreeInformation",sidebar_position:0,custom_edit_url:null},l=void 0,o={unversionedId:"api/interfaces/TreeInformation",id:"api/interfaces/TreeInformation",title:"Interface: TreeInformation",description:"Hierarchy",source:"@site/docs/api/interfaces/TreeInformation.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeInformation",permalink:"/docs/api/interfaces/TreeInformation",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeInformation",title:"Interface: TreeInformation",sidebar_label:"TreeInformation",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeEnvironmentRef",permalink:"/docs/api/interfaces/TreeEnvironmentRef"},next:{title:"TreeItem",permalink:"/docs/api/interfaces/TreeItem"}},p={},d=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"areItemsSelected",id:"areitemsselected",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"isFocused",id:"isfocused",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"isProgrammaticallyDragging",id:"isprogrammaticallydragging",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"isRenaming",id:"isrenaming",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"isSearching",id:"issearching",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"rootItem",id:"rootitem",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"search",id:"search",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"treeId",id:"treeid",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"treeLabel",id:"treelabel",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"treeLabelledBy",id:"treelabelledby",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-9",level:4}],s={toc:d};function c(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,i.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("strong",{parentName:"p"},(0,i.kt)("inlineCode",{parentName:"strong"},"TreeInformation"))),(0,i.kt)("p",{parentName:"li"},"\u21b3\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRef"},(0,i.kt)("inlineCode",{parentName:"a"},"TreeRef"))))),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"areitemsselected"},"areItemsSelected"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"areItemsSelected"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean")),(0,i.kt)("h4",{id:"defined-in"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L67"},"types.ts:67")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"isfocused"},"isFocused"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"isFocused"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean")),(0,i.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L69"},"types.ts:69")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"isprogrammaticallydragging"},"isProgrammaticallyDragging"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"isProgrammaticallyDragging"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean")),(0,i.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L72"},"types.ts:72")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"isrenaming"},"isRenaming"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"isRenaming"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean")),(0,i.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L68"},"types.ts:68")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"issearching"},"isSearching"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"isSearching"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean")),(0,i.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L70"},"types.ts:70")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"rootitem"},"rootItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"rootItem"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#rootitem"},"rootItem")),(0,i.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L387"},"types.ts:387")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"search"},"search"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"search"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L71"},"types.ts:71")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"treeid"},"treeId"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"treeId"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treeid"},"treeId")),(0,i.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L386"},"types.ts:386")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"treelabel"},"treeLabel"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"treeLabel"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treelabel"},"treeLabel")),(0,i.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L388"},"types.ts:388")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"treelabelledby"},"treeLabelledBy"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,i.kt)("strong",{parentName:"p"},"treeLabelledBy"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treelabelledby"},"treeLabelledBy")),(0,i.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L389"},"types.ts:389")))}c.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>m});var n=r(2784);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var p=n.createContext({}),d=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=d(e.components);return n.createElement(p.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,p=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),f=d(r),m=i,u=f["".concat(p,".").concat(m)]||f[m]||c[m]||a;return r?n.createElement(u,l(l({ref:t},s),{},{components:r})):n.createElement(u,l({ref:t},s))}));function m(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,l=new Array(a);l[0]=f;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeof e?e:i,l[1]=o;for(var d=2;d{a.r(t),a.d(t,{assets:()=>o,contentTitle:()=>p,default:()=>s,frontMatter:()=>i,metadata:()=>l,toc:()=>d});var n=a(7896),r=(a(2784),a(876));const i={id:"InteractionManager",title:"Interface: InteractionManager",sidebar_label:"InteractionManager",sidebar_position:0,custom_edit_url:null},p=void 0,l={unversionedId:"api/interfaces/InteractionManager",id:"api/interfaces/InteractionManager",title:"Interface: InteractionManager",description:"Type parameters",source:"@site/docs/api/interfaces/InteractionManager.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/InteractionManager",permalink:"/docs/api/interfaces/InteractionManager",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"InteractionManager",title:"Interface: InteractionManager",sidebar_label:"InteractionManager",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"ImplicitDataSource",permalink:"/docs/api/interfaces/ImplicitDataSource"},next:{title:"KeyboardBindings",permalink:"/docs/api/interfaces/KeyboardBindings"}},o={},d=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Properties",id:"properties",level:2},{value:"createInteractiveElementProps",id:"createinteractiveelementprops",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"extends",id:"extends",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"mode",id:"mode",level:3},{value:"Defined in",id:"defined-in-2",level:4}],m={toc:d};function s(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"createinteractiveelementprops"},"createInteractiveElementProps"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"createInteractiveElementProps"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"actions"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemActions")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"renderFlags"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderFlags")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"__unsafeViewState?"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#individualtreeviewstate"},(0,r.kt)("inlineCode",{parentName:"a"},"IndividualTreeViewState")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLElement"),">"),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"actions"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"renderFlags"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"__unsafeViewState?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLElement"),">"),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">"),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string")),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"actions")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemActions"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemActions"))),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"renderFlags")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderFlags"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderFlags"))),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"__unsafeViewState?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#individualtreeviewstate"},(0,r.kt)("inlineCode",{parentName:"a"},"IndividualTreeViewState")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">"),(0,r.kt)("td",{parentName:"tr",align:"left"},"See ",(0,r.kt)("a",{parentName:"td",href:"https://github.com/lukasbach/react-complex-tree/issues/48"},"https://github.com/lukasbach/react-complex-tree/issues/48"))))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLElement"),">"),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L152"},"types.ts:152")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"extends"},"extends"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"extends"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/enums/InteractionMode"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionMode"))),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L151"},"types.ts:151")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"mode"},"mode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"mode"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L150"},"types.ts:150")))}s.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>m,kt:()=>k});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function p(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var o=n.createContext({}),d=function(e){var t=n.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},m=function(e){var t=d(e.components);return n.createElement(o.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},c=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,o=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),c=d(a),k=r,f=c["".concat(o,".").concat(k)]||c[k]||s[k]||i;return a?n.createElement(f,p(p({ref:t},m),{},{components:a})):n.createElement(f,p({ref:t},m))}));function k(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,p=new Array(i);p[0]=c;var l={};for(var o in t)hasOwnProperty.call(t,o)&&(l[o]=t[o]);l.originalType=e,l.mdxType="string"==typeof e?e:r,p[1]=l;for(var d=2;d{a.r(t),a.d(t,{assets:()=>o,contentTitle:()=>p,default:()=>s,frontMatter:()=>i,metadata:()=>l,toc:()=>d});var n=a(7896),r=(a(2784),a(876));const i={id:"InteractionManager",title:"Interface: InteractionManager",sidebar_label:"InteractionManager",sidebar_position:0,custom_edit_url:null},p=void 0,l={unversionedId:"api/interfaces/InteractionManager",id:"api/interfaces/InteractionManager",title:"Interface: InteractionManager",description:"Type parameters",source:"@site/docs/api/interfaces/InteractionManager.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/InteractionManager",permalink:"/docs/api/interfaces/InteractionManager",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"InteractionManager",title:"Interface: InteractionManager",sidebar_label:"InteractionManager",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"ImplicitDataSource",permalink:"/docs/api/interfaces/ImplicitDataSource"},next:{title:"KeyboardBindings",permalink:"/docs/api/interfaces/KeyboardBindings"}},o={},d=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Properties",id:"properties",level:2},{value:"createInteractiveElementProps",id:"createinteractiveelementprops",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"extends",id:"extends",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"mode",id:"mode",level:3},{value:"Defined in",id:"defined-in-2",level:4}],m={toc:d};function s(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"createinteractiveelementprops"},"createInteractiveElementProps"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"createInteractiveElementProps"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"actions"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemActions")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"renderFlags"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderFlags")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"__unsafeViewState?"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#individualtreeviewstate"},(0,r.kt)("inlineCode",{parentName:"a"},"IndividualTreeViewState")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLElement"),">"),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"actions"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"renderFlags"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"__unsafeViewState?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLElement"),">"),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">"),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string")),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"actions")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemActions"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemActions"))),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"renderFlags")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderFlags"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderFlags"))),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"__unsafeViewState?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#individualtreeviewstate"},(0,r.kt)("inlineCode",{parentName:"a"},"IndividualTreeViewState")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">"),(0,r.kt)("td",{parentName:"tr",align:"left"},"See ",(0,r.kt)("a",{parentName:"td",href:"https://github.com/lukasbach/react-complex-tree/issues/48"},"https://github.com/lukasbach/react-complex-tree/issues/48"))))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLElement"),">"),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L152"},"types.ts:152")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"extends"},"extends"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"extends"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/enums/InteractionMode"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionMode"))),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L151"},"types.ts:151")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"mode"},"mode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"mode"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L150"},"types.ts:150")))}s.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>m,kt:()=>k});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function p(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var o=n.createContext({}),d=function(e){var t=n.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):p(p({},t),e)),a},m=function(e){var t=d(e.components);return n.createElement(o.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},c=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,o=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),c=d(a),k=r,f=c["".concat(o,".").concat(k)]||c[k]||s[k]||i;return a?n.createElement(f,p(p({ref:t},m),{},{components:a})):n.createElement(f,p({ref:t},m))}));function k(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,p=new Array(i);p[0]=c;var l={};for(var o in t)hasOwnProperty.call(t,o)&&(l[o]=t[o]);l.originalType=e,l.mdxType="string"==typeof e?e:r,p[1]=l;for(var d=2;d{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>p,default:()=>k,frontMatter:()=>i,metadata:()=>l,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"ControlledTreeEnvironmentProps",title:"Interface: ControlledTreeEnvironmentProps",sidebar_label:"ControlledTreeEnvironmentProps",sidebar_position:0,custom_edit_url:null},p=void 0,l={unversionedId:"api/interfaces/ControlledTreeEnvironmentProps",id:"api/interfaces/ControlledTreeEnvironmentProps",title:"Interface: ControlledTreeEnvironmentProps",description:"Type parameters",source:"@site/docs/api/interfaces/ControlledTreeEnvironmentProps.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/ControlledTreeEnvironmentProps",permalink:"/docs/api/interfaces/ControlledTreeEnvironmentProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ControlledTreeEnvironmentProps",title:"Interface: ControlledTreeEnvironmentProps",sidebar_label:"ControlledTreeEnvironmentProps",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"AbstractDraggingPosition",permalink:"/docs/api/interfaces/AbstractDraggingPosition"},next:{title:"DragAndDropContextProps",permalink:"/docs/api/interfaces/DragAndDropContextProps"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"autoFocus",id:"autofocus",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"canDrag",id:"candrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"canDragAndDrop",id:"candraganddrop",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"canDropAt",id:"candropat",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"canDropBelowOpenFolders",id:"candropbelowopenfolders",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"canDropOnFolder",id:"candroponfolder",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"canDropOnNonFolder",id:"candroponnonfolder",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"canInvokePrimaryActionOnItemContainer",id:"caninvokeprimaryactiononitemcontainer",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"canRename",id:"canrename",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"canReorderItems",id:"canreorderitems",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"canSearch",id:"cansearch",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"canSearchByStartingTyping",id:"cansearchbystartingtyping",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"children",id:"children",level:3},{value:"Defined in",id:"defined-in-12",level:4},{value:"defaultInteractionMode",id:"defaultinteractionmode",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"disableArrowKeys",id:"disablearrowkeys",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"doesSearchMatchItem",id:"doessearchmatchitem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"getItemTitle",id:"getitemtitle",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"items",id:"items",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"keyboardBindings",id:"keyboardbindings",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"liveDescriptors",id:"livedescriptors",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"onAbortRenamingItem",id:"onabortrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"onCollapseItem",id:"oncollapseitem",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"onDrop",id:"ondrop",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"onExpandItem",id:"onexpanditem",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"onFocusItem",id:"onfocusitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"onMissingChildren",id:"onmissingchildren",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"onMissingItems",id:"onmissingitems",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"onPrimaryAction",id:"onprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-11",level:5},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"onRegisterTree",id:"onregistertree",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-12",level:5},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"onRenameItem",id:"onrenameitem",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Parameters",id:"parameters-13",level:5},{value:"Returns",id:"returns-13",level:5},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"onSelectItems",id:"onselectitems",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-14",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"onStartRenamingItem",id:"onstartrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-15",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"onUnregisterTree",id:"onunregistertree",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Parameters",id:"parameters-16",level:5},{value:"Returns",id:"returns-16",level:5},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"renderDepthOffset",id:"renderdepthoffset",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"renderDragBetweenLine",id:"renderdragbetweenline",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Parameters",id:"parameters-17",level:5},{value:"Returns",id:"returns-17",level:5},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"renderItem",id:"renderitem",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-18",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Inherited from",id:"inherited-from-34",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"renderItemArrow",id:"renderitemarrow",level:3},{value:"Type declaration",id:"type-declaration-19",level:4},{value:"Parameters",id:"parameters-19",level:5},{value:"Returns",id:"returns-19",level:5},{value:"Inherited from",id:"inherited-from-35",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"renderItemTitle",id:"renderitemtitle",level:3},{value:"Type declaration",id:"type-declaration-20",level:4},{value:"Parameters",id:"parameters-20",level:5},{value:"Returns",id:"returns-20",level:5},{value:"Inherited from",id:"inherited-from-36",level:4},{value:"Defined in",id:"defined-in-37",level:4},{value:"renderItemsContainer",id:"renderitemscontainer",level:3},{value:"Type declaration",id:"type-declaration-21",level:4},{value:"Parameters",id:"parameters-21",level:5},{value:"Returns",id:"returns-21",level:5},{value:"Inherited from",id:"inherited-from-37",level:4},{value:"Defined in",id:"defined-in-38",level:4},{value:"renderLiveDescriptorContainer",id:"renderlivedescriptorcontainer",level:3},{value:"Type declaration",id:"type-declaration-22",level:4},{value:"Parameters",id:"parameters-22",level:5},{value:"Returns",id:"returns-22",level:5},{value:"Inherited from",id:"inherited-from-38",level:4},{value:"Defined in",id:"defined-in-39",level:4},{value:"renderRenameInput",id:"renderrenameinput",level:3},{value:"Type declaration",id:"type-declaration-23",level:4},{value:"Parameters",id:"parameters-23",level:5},{value:"Returns",id:"returns-23",level:5},{value:"Inherited from",id:"inherited-from-39",level:4},{value:"Defined in",id:"defined-in-40",level:4},{value:"renderSearchInput",id:"rendersearchinput",level:3},{value:"Type declaration",id:"type-declaration-24",level:4},{value:"Parameters",id:"parameters-24",level:5},{value:"Returns",id:"returns-24",level:5},{value:"Inherited from",id:"inherited-from-40",level:4},{value:"Defined in",id:"defined-in-41",level:4},{value:"renderTreeContainer",id:"rendertreecontainer",level:3},{value:"Type declaration",id:"type-declaration-25",level:4},{value:"Parameters",id:"parameters-25",level:5},{value:"Returns",id:"returns-25",level:5},{value:"Inherited from",id:"inherited-from-41",level:4},{value:"Defined in",id:"defined-in-42",level:4},{value:"shouldRenderChildren",id:"shouldrenderchildren",level:3},{value:"Type declaration",id:"type-declaration-26",level:4},{value:"Parameters",id:"parameters-26",level:5},{value:"Returns",id:"returns-26",level:5},{value:"Inherited from",id:"inherited-from-42",level:4},{value:"Defined in",id:"defined-in-43",level:4},{value:"showLiveDescription",id:"showlivedescription",level:3},{value:"Inherited from",id:"inherited-from-43",level:4},{value:"Defined in",id:"defined-in-44",level:4},{value:"viewState",id:"viewstate",level:3},{value:"Inherited from",id:"inherited-from-44",level:4},{value:"Defined in",id:"defined-in-45",level:4}],m={toc:o};function k(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentConfiguration")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"ControlledTreeEnvironmentProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"autofocus"},"autoFocus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"autoFocus"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#autofocus"},"autoFocus")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L174"},"types.ts:174")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candrag"},"canDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDrag"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#candrag"},"canDrag")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L168"},"types.ts:168")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candraganddrop"},"canDragAndDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDragAndDrop"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#candraganddrop"},"canDragAndDrop")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L164"},"types.ts:164")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropat"},"canDropAt"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropAt"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#candropat"},"canDropAt")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L169"},"types.ts:169")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropbelowopenfolders"},"canDropBelowOpenFolders"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropBelowOpenFolders"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("p",null,"See Issue #148 or the sample at\n",(0,r.kt)("a",{parentName:"p",href:"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"},"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"),"\nfor details."),(0,r.kt)("p",null,"If enabled, dropping at the bottom of an open folder will drop the items\nin the parent folder below the hovered item instead of inside the folder\nat the top."),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#candropbelowopenfolders"},"canDropBelowOpenFolders")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L195"},"types.ts:195")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponfolder"},"canDropOnFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#candroponfolder"},"canDropOnFolder")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L165"},"types.ts:165")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponnonfolder"},"canDropOnNonFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnNonFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#candroponnonfolder"},"canDropOnNonFolder")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L166"},"types.ts:166")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canInvokePrimaryActionOnItemContainer"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L170"},"types.ts:170")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canrename"},"canRename"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canRename"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#canrename"},"canRename")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L173"},"types.ts:173")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canreorderitems"},"canReorderItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canReorderItems"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#canreorderitems"},"canReorderItems")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L167"},"types.ts:167")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearch"},"canSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#cansearch"},"canSearch")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L171"},"types.ts:171")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearchbystartingtyping"},"canSearchByStartingTyping"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearchByStartingTyping"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#cansearchbystartingtyping"},"canSearchByStartingTyping")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L172"},"types.ts:172")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"children"},"children"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"Element")," ","|"," (",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"Element"),")[]"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L367"},"types.ts:367")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"defaultinteractionmode"},"defaultInteractionMode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"defaultInteractionMode"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/enums/InteractionMode"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionMode"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/InteractionManager"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionManager")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#defaultinteractionmode"},"defaultInteractionMode")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L163"},"types.ts:163")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disablearrowkeys"},"disableArrowKeys"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"disableArrowKeys"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#disablearrowkeys"},"disableArrowKeys")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L197"},"types.ts:197")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"doessearchmatchitem"},"doesSearchMatchItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"doesSearchMatchItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemTitle")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#doessearchmatchitem"},"doesSearchMatchItem")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L175"},"types.ts:175")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"getitemtitle"},"getItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"getItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#getitemtitle"},"getItemTitle")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L292"},"types.ts:292")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"items"},"items"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"items"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,r.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#items"},"items")),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L211"},"types.ts:211")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"keyboardbindings"},"keyboardBindings"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"keyboardBindings"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/KeyboardBindings"},(0,r.kt)("inlineCode",{parentName:"a"},"KeyboardBindings"))),(0,r.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#keyboardbindings"},"keyboardBindings")),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L290"},"types.ts:290")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"livedescriptors"},"liveDescriptors"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"liveDescriptors"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/LiveDescriptors"},(0,r.kt)("inlineCode",{parentName:"a"},"LiveDescriptors"))),(0,r.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#livedescriptors"},"liveDescriptors")),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L291"},"types.ts:291")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onabortrenamingitem"},"onAbortRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onAbortRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onabortrenamingitem"},"onAbortRenamingItem")),(0,r.kt)("h4",{id:"defined-in-20"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L223"},"types.ts:223")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"oncollapseitem"},"onCollapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onCollapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#oncollapseitem"},"onCollapseItem")),(0,r.kt)("h4",{id:"defined-in-21"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L224"},"types.ts:224")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondrop"},"onDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onDrop"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#ondrop"},"onDrop")),(0,r.kt)("h4",{id:"defined-in-22"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L232"},"types.ts:232")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onexpanditem"},"onExpandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onExpandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onexpanditem"},"onExpandItem")),(0,r.kt)("h4",{id:"defined-in-23"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L225"},"types.ts:225")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onfocusitem"},"onFocusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onFocusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onfocusitem"},"onFocusItem")),(0,r.kt)("h4",{id:"defined-in-24"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L227"},"types.ts:227")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingchildren"},"onMissingChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onmissingchildren"},"onMissingChildren")),(0,r.kt)("h4",{id:"defined-in-25"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L237"},"types.ts:237")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingitems"},"onMissingItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onmissingitems"},"onMissingItems")),(0,r.kt)("h4",{id:"defined-in-26"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L236"},"types.ts:236")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onprimaryaction"},"onPrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onPrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onprimaryaction"},"onPrimaryAction")),(0,r.kt)("h4",{id:"defined-in-27"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L233"},"types.ts:233")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onregistertree"},"onRegisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRegisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-12"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onregistertree"},"onRegisterTree")),(0,r.kt)("h4",{id:"defined-in-28"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L234"},"types.ts:234")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onrenameitem"},"onRenameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRenameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-13"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onrenameitem"},"onRenameItem")),(0,r.kt)("h4",{id:"defined-in-29"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L222"},"types.ts:222")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onselectitems"},"onSelectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onSelectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-14"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onselectitems"},"onSelectItems")),(0,r.kt)("h4",{id:"defined-in-30"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L226"},"types.ts:226")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onstartrenamingitem"},"onStartRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onStartRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-15"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onstartrenamingitem"},"onStartRenamingItem")),(0,r.kt)("h4",{id:"defined-in-31"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L221"},"types.ts:221")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onunregistertree"},"onUnregisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onUnregisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-16"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onunregistertree"},"onUnregisterTree")),(0,r.kt)("h4",{id:"defined-in-32"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L235"},"types.ts:235")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdepthoffset"},"renderDepthOffset"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDepthOffset"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderdepthoffset"},"renderDepthOffset")),(0,r.kt)("h4",{id:"defined-in-33"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L136"},"types.ts:136")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdragbetweenline"},"renderDragBetweenLine"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDragBetweenLine"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"lineProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-17"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.draggingPosition")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.lineProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderdragbetweenline"},"renderDragBetweenLine")),(0,r.kt)("h4",{id:"defined-in-34"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L122"},"types.ts:122")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitem"},"renderItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"arrow"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-18"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.arrow")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderitem"},"renderItem")),(0,r.kt)("h4",{id:"defined-in-35"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L76"},"types.ts:76")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemarrow"},"renderItemArrow"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemArrow"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-19"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-19"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-19"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-35"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderitemarrow"},"renderItemArrow")),(0,r.kt)("h4",{id:"defined-in-36"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L93"},"types.ts:93")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemtitle"},"renderItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-20"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-20"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-20"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-36"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderitemtitle"},"renderItemTitle")),(0,r.kt)("h4",{id:"defined-in-37"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L86"},"types.ts:86")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemscontainer"},"renderItemsContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemsContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"parentId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-21"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-21"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.parentId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-21"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-37"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderitemscontainer"},"renderItemsContainer")),(0,r.kt)("h4",{id:"defined-in-38"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L108"},"types.ts:108")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderlivedescriptorcontainer"},"renderLiveDescriptorContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderLiveDescriptorContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-22"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-22"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-22"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-38"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderlivedescriptorcontainer"},"renderLiveDescriptorContainer")),(0,r.kt)("h4",{id:"defined-in-39"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L131"},"types.ts:131")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderrenameinput"},"renderRenameInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderRenameInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"formProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLFormElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-23"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-23"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.formProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLFormElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-23"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-39"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderrenameinput"},"renderRenameInput")),(0,r.kt)("h4",{id:"defined-in-40"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L99"},"types.ts:99")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendersearchinput"},"renderSearchInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderSearchInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-24"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-24"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")))),(0,r.kt)("h5",{id:"returns-24"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-40"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#rendersearchinput"},"renderSearchInput")),(0,r.kt)("h4",{id:"defined-in-41"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L127"},"types.ts:127")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendertreecontainer"},"renderTreeContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderTreeContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-25"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-25"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))))),(0,r.kt)("h5",{id:"returns-25"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-41"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#rendertreecontainer"},"renderTreeContainer")),(0,r.kt)("h4",{id:"defined-in-42"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L116"},"types.ts:116")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"shouldrenderchildren"},"shouldRenderChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"shouldRenderChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-26"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-26"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"never"),">")))),(0,r.kt)("h5",{id:"returns-26"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-42"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#shouldrenderchildren"},"shouldRenderChildren")),(0,r.kt)("h4",{id:"defined-in-43"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L181"},"types.ts:181")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"showlivedescription"},"showLiveDescription"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"showLiveDescription"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-43"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#showlivedescription"},"showLiveDescription")),(0,r.kt)("h4",{id:"defined-in-44"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L180"},"types.ts:180")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"viewstate"},"viewState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"viewState"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeViewState"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeViewState")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"),(0,r.kt)("h4",{id:"inherited-from-44"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#viewstate"},"viewState")),(0,r.kt)("h4",{id:"defined-in-45"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L289"},"types.ts:289")))}k.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>N});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),s=o(n),N=r,f=s["".concat(d,".").concat(N)]||s[N]||k[N]||i;return n?a.createElement(f,p(p({ref:t},m),{},{components:n})):a.createElement(f,p({ref:t},m))}));function N(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,p=new Array(i);p[0]=s;var l={};for(var d in t)hasOwnProperty.call(t,d)&&(l[d]=t[d]);l.originalType=e,l.mdxType="string"==typeof e?e:r,p[1]=l;for(var o=2;o{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>p,default:()=>k,frontMatter:()=>i,metadata:()=>l,toc:()=>d});var a=n(7896),r=(n(2784),n(876));const i={id:"ControlledTreeEnvironmentProps",title:"Interface: ControlledTreeEnvironmentProps",sidebar_label:"ControlledTreeEnvironmentProps",sidebar_position:0,custom_edit_url:null},p=void 0,l={unversionedId:"api/interfaces/ControlledTreeEnvironmentProps",id:"api/interfaces/ControlledTreeEnvironmentProps",title:"Interface: ControlledTreeEnvironmentProps",description:"Type parameters",source:"@site/docs/api/interfaces/ControlledTreeEnvironmentProps.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/ControlledTreeEnvironmentProps",permalink:"/docs/api/interfaces/ControlledTreeEnvironmentProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ControlledTreeEnvironmentProps",title:"Interface: ControlledTreeEnvironmentProps",sidebar_label:"ControlledTreeEnvironmentProps",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"AbstractDraggingPosition",permalink:"/docs/api/interfaces/AbstractDraggingPosition"},next:{title:"DragAndDropContextProps",permalink:"/docs/api/interfaces/DragAndDropContextProps"}},o={},d=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"autoFocus",id:"autofocus",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"canDrag",id:"candrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"canDragAndDrop",id:"candraganddrop",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"canDropAt",id:"candropat",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"canDropBelowOpenFolders",id:"candropbelowopenfolders",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"canDropOnFolder",id:"candroponfolder",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"canDropOnNonFolder",id:"candroponnonfolder",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"canInvokePrimaryActionOnItemContainer",id:"caninvokeprimaryactiononitemcontainer",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"canRename",id:"canrename",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"canReorderItems",id:"canreorderitems",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"canSearch",id:"cansearch",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"canSearchByStartingTyping",id:"cansearchbystartingtyping",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"children",id:"children",level:3},{value:"Defined in",id:"defined-in-12",level:4},{value:"defaultInteractionMode",id:"defaultinteractionmode",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"disableArrowKeys",id:"disablearrowkeys",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"doesSearchMatchItem",id:"doessearchmatchitem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"getItemTitle",id:"getitemtitle",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"items",id:"items",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"keyboardBindings",id:"keyboardbindings",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"liveDescriptors",id:"livedescriptors",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"onAbortRenamingItem",id:"onabortrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"onCollapseItem",id:"oncollapseitem",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"onDrop",id:"ondrop",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"onExpandItem",id:"onexpanditem",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"onFocusItem",id:"onfocusitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"onMissingChildren",id:"onmissingchildren",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"onMissingItems",id:"onmissingitems",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"onPrimaryAction",id:"onprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-11",level:5},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"onRegisterTree",id:"onregistertree",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-12",level:5},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"onRenameItem",id:"onrenameitem",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Parameters",id:"parameters-13",level:5},{value:"Returns",id:"returns-13",level:5},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"onSelectItems",id:"onselectitems",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-14",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"onStartRenamingItem",id:"onstartrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-15",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"onUnregisterTree",id:"onunregistertree",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Parameters",id:"parameters-16",level:5},{value:"Returns",id:"returns-16",level:5},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"renderDepthOffset",id:"renderdepthoffset",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"renderDragBetweenLine",id:"renderdragbetweenline",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Parameters",id:"parameters-17",level:5},{value:"Returns",id:"returns-17",level:5},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"renderItem",id:"renderitem",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-18",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Inherited from",id:"inherited-from-34",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"renderItemArrow",id:"renderitemarrow",level:3},{value:"Type declaration",id:"type-declaration-19",level:4},{value:"Parameters",id:"parameters-19",level:5},{value:"Returns",id:"returns-19",level:5},{value:"Inherited from",id:"inherited-from-35",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"renderItemTitle",id:"renderitemtitle",level:3},{value:"Type declaration",id:"type-declaration-20",level:4},{value:"Parameters",id:"parameters-20",level:5},{value:"Returns",id:"returns-20",level:5},{value:"Inherited from",id:"inherited-from-36",level:4},{value:"Defined in",id:"defined-in-37",level:4},{value:"renderItemsContainer",id:"renderitemscontainer",level:3},{value:"Type declaration",id:"type-declaration-21",level:4},{value:"Parameters",id:"parameters-21",level:5},{value:"Returns",id:"returns-21",level:5},{value:"Inherited from",id:"inherited-from-37",level:4},{value:"Defined in",id:"defined-in-38",level:4},{value:"renderLiveDescriptorContainer",id:"renderlivedescriptorcontainer",level:3},{value:"Type declaration",id:"type-declaration-22",level:4},{value:"Parameters",id:"parameters-22",level:5},{value:"Returns",id:"returns-22",level:5},{value:"Inherited from",id:"inherited-from-38",level:4},{value:"Defined in",id:"defined-in-39",level:4},{value:"renderRenameInput",id:"renderrenameinput",level:3},{value:"Type declaration",id:"type-declaration-23",level:4},{value:"Parameters",id:"parameters-23",level:5},{value:"Returns",id:"returns-23",level:5},{value:"Inherited from",id:"inherited-from-39",level:4},{value:"Defined in",id:"defined-in-40",level:4},{value:"renderSearchInput",id:"rendersearchinput",level:3},{value:"Type declaration",id:"type-declaration-24",level:4},{value:"Parameters",id:"parameters-24",level:5},{value:"Returns",id:"returns-24",level:5},{value:"Inherited from",id:"inherited-from-40",level:4},{value:"Defined in",id:"defined-in-41",level:4},{value:"renderTreeContainer",id:"rendertreecontainer",level:3},{value:"Type declaration",id:"type-declaration-25",level:4},{value:"Parameters",id:"parameters-25",level:5},{value:"Returns",id:"returns-25",level:5},{value:"Inherited from",id:"inherited-from-41",level:4},{value:"Defined in",id:"defined-in-42",level:4},{value:"shouldRenderChildren",id:"shouldrenderchildren",level:3},{value:"Type declaration",id:"type-declaration-26",level:4},{value:"Parameters",id:"parameters-26",level:5},{value:"Returns",id:"returns-26",level:5},{value:"Inherited from",id:"inherited-from-42",level:4},{value:"Defined in",id:"defined-in-43",level:4},{value:"showLiveDescription",id:"showlivedescription",level:3},{value:"Inherited from",id:"inherited-from-43",level:4},{value:"Defined in",id:"defined-in-44",level:4},{value:"viewState",id:"viewstate",level:3},{value:"Inherited from",id:"inherited-from-44",level:4},{value:"Defined in",id:"defined-in-45",level:4}],m={toc:d};function k(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentConfiguration")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"ControlledTreeEnvironmentProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"autofocus"},"autoFocus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"autoFocus"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#autofocus"},"autoFocus")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L174"},"types.ts:174")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candrag"},"canDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDrag"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#candrag"},"canDrag")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L168"},"types.ts:168")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candraganddrop"},"canDragAndDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDragAndDrop"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#candraganddrop"},"canDragAndDrop")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L164"},"types.ts:164")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropat"},"canDropAt"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropAt"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#candropat"},"canDropAt")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L169"},"types.ts:169")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropbelowopenfolders"},"canDropBelowOpenFolders"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropBelowOpenFolders"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("p",null,"See Issue #148 or the sample at\n",(0,r.kt)("a",{parentName:"p",href:"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"},"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"),"\nfor details."),(0,r.kt)("p",null,"If enabled, dropping at the bottom of an open folder will drop the items\nin the parent folder below the hovered item instead of inside the folder\nat the top."),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#candropbelowopenfolders"},"canDropBelowOpenFolders")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L195"},"types.ts:195")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponfolder"},"canDropOnFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#candroponfolder"},"canDropOnFolder")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L165"},"types.ts:165")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponnonfolder"},"canDropOnNonFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnNonFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#candroponnonfolder"},"canDropOnNonFolder")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L166"},"types.ts:166")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canInvokePrimaryActionOnItemContainer"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L170"},"types.ts:170")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canrename"},"canRename"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canRename"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#canrename"},"canRename")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L173"},"types.ts:173")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canreorderitems"},"canReorderItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canReorderItems"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#canreorderitems"},"canReorderItems")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L167"},"types.ts:167")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearch"},"canSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#cansearch"},"canSearch")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L171"},"types.ts:171")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearchbystartingtyping"},"canSearchByStartingTyping"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearchByStartingTyping"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#cansearchbystartingtyping"},"canSearchByStartingTyping")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L172"},"types.ts:172")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"children"},"children"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"Element")," ","|"," (",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"Element"),")[]"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L367"},"types.ts:367")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"defaultinteractionmode"},"defaultInteractionMode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"defaultInteractionMode"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/enums/InteractionMode"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionMode"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/InteractionManager"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionManager")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#defaultinteractionmode"},"defaultInteractionMode")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L163"},"types.ts:163")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disablearrowkeys"},"disableArrowKeys"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"disableArrowKeys"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#disablearrowkeys"},"disableArrowKeys")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L197"},"types.ts:197")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"doessearchmatchitem"},"doesSearchMatchItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"doesSearchMatchItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemTitle")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#doessearchmatchitem"},"doesSearchMatchItem")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L175"},"types.ts:175")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"getitemtitle"},"getItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"getItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#getitemtitle"},"getItemTitle")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L292"},"types.ts:292")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"items"},"items"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"items"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,r.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#items"},"items")),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L211"},"types.ts:211")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"keyboardbindings"},"keyboardBindings"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"keyboardBindings"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/KeyboardBindings"},(0,r.kt)("inlineCode",{parentName:"a"},"KeyboardBindings"))),(0,r.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#keyboardbindings"},"keyboardBindings")),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L290"},"types.ts:290")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"livedescriptors"},"liveDescriptors"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"liveDescriptors"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/LiveDescriptors"},(0,r.kt)("inlineCode",{parentName:"a"},"LiveDescriptors"))),(0,r.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#livedescriptors"},"liveDescriptors")),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L291"},"types.ts:291")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onabortrenamingitem"},"onAbortRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onAbortRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onabortrenamingitem"},"onAbortRenamingItem")),(0,r.kt)("h4",{id:"defined-in-20"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L223"},"types.ts:223")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"oncollapseitem"},"onCollapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onCollapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#oncollapseitem"},"onCollapseItem")),(0,r.kt)("h4",{id:"defined-in-21"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L224"},"types.ts:224")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondrop"},"onDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onDrop"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#ondrop"},"onDrop")),(0,r.kt)("h4",{id:"defined-in-22"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L232"},"types.ts:232")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onexpanditem"},"onExpandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onExpandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onexpanditem"},"onExpandItem")),(0,r.kt)("h4",{id:"defined-in-23"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L225"},"types.ts:225")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onfocusitem"},"onFocusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onFocusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onfocusitem"},"onFocusItem")),(0,r.kt)("h4",{id:"defined-in-24"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L227"},"types.ts:227")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingchildren"},"onMissingChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onmissingchildren"},"onMissingChildren")),(0,r.kt)("h4",{id:"defined-in-25"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L237"},"types.ts:237")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingitems"},"onMissingItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onmissingitems"},"onMissingItems")),(0,r.kt)("h4",{id:"defined-in-26"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L236"},"types.ts:236")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onprimaryaction"},"onPrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onPrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onprimaryaction"},"onPrimaryAction")),(0,r.kt)("h4",{id:"defined-in-27"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L233"},"types.ts:233")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onregistertree"},"onRegisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRegisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-12"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onregistertree"},"onRegisterTree")),(0,r.kt)("h4",{id:"defined-in-28"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L234"},"types.ts:234")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onrenameitem"},"onRenameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRenameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-13"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onrenameitem"},"onRenameItem")),(0,r.kt)("h4",{id:"defined-in-29"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L222"},"types.ts:222")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onselectitems"},"onSelectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onSelectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-14"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onselectitems"},"onSelectItems")),(0,r.kt)("h4",{id:"defined-in-30"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L226"},"types.ts:226")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onstartrenamingitem"},"onStartRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onStartRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-15"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onstartrenamingitem"},"onStartRenamingItem")),(0,r.kt)("h4",{id:"defined-in-31"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L221"},"types.ts:221")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onunregistertree"},"onUnregisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onUnregisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-16"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#onunregistertree"},"onUnregisterTree")),(0,r.kt)("h4",{id:"defined-in-32"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L235"},"types.ts:235")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdepthoffset"},"renderDepthOffset"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDepthOffset"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderdepthoffset"},"renderDepthOffset")),(0,r.kt)("h4",{id:"defined-in-33"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L136"},"types.ts:136")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdragbetweenline"},"renderDragBetweenLine"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDragBetweenLine"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"lineProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-17"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.draggingPosition")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.lineProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderdragbetweenline"},"renderDragBetweenLine")),(0,r.kt)("h4",{id:"defined-in-34"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L122"},"types.ts:122")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitem"},"renderItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"arrow"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-18"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.arrow")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderitem"},"renderItem")),(0,r.kt)("h4",{id:"defined-in-35"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L76"},"types.ts:76")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemarrow"},"renderItemArrow"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemArrow"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-19"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-19"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-19"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-35"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderitemarrow"},"renderItemArrow")),(0,r.kt)("h4",{id:"defined-in-36"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L93"},"types.ts:93")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemtitle"},"renderItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-20"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-20"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-20"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-36"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderitemtitle"},"renderItemTitle")),(0,r.kt)("h4",{id:"defined-in-37"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L86"},"types.ts:86")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemscontainer"},"renderItemsContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemsContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"parentId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-21"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-21"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.parentId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-21"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-37"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderitemscontainer"},"renderItemsContainer")),(0,r.kt)("h4",{id:"defined-in-38"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L108"},"types.ts:108")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderlivedescriptorcontainer"},"renderLiveDescriptorContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderLiveDescriptorContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-22"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-22"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-22"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-38"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderlivedescriptorcontainer"},"renderLiveDescriptorContainer")),(0,r.kt)("h4",{id:"defined-in-39"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L131"},"types.ts:131")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderrenameinput"},"renderRenameInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderRenameInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"formProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLFormElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-23"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-23"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.formProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLFormElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-23"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-39"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#renderrenameinput"},"renderRenameInput")),(0,r.kt)("h4",{id:"defined-in-40"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L99"},"types.ts:99")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendersearchinput"},"renderSearchInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderSearchInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-24"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-24"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")))),(0,r.kt)("h5",{id:"returns-24"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-40"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#rendersearchinput"},"renderSearchInput")),(0,r.kt)("h4",{id:"defined-in-41"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L127"},"types.ts:127")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendertreecontainer"},"renderTreeContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderTreeContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-25"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-25"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))))),(0,r.kt)("h5",{id:"returns-25"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-41"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#rendertreecontainer"},"renderTreeContainer")),(0,r.kt)("h4",{id:"defined-in-42"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L116"},"types.ts:116")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"shouldrenderchildren"},"shouldRenderChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"shouldRenderChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-26"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-26"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"never"),">")))),(0,r.kt)("h5",{id:"returns-26"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-42"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#shouldrenderchildren"},"shouldRenderChildren")),(0,r.kt)("h4",{id:"defined-in-43"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L181"},"types.ts:181")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"showlivedescription"},"showLiveDescription"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"showLiveDescription"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-43"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#showlivedescription"},"showLiveDescription")),(0,r.kt)("h4",{id:"defined-in-44"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L180"},"types.ts:180")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"viewstate"},"viewState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"viewState"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeViewState"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeViewState")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"),(0,r.kt)("h4",{id:"inherited-from-44"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration#viewstate"},"viewState")),(0,r.kt)("h4",{id:"defined-in-45"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L289"},"types.ts:289")))}k.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>N});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var o=a.createContext({}),d=function(e){var t=a.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},m=function(e){var t=d(e.components);return a.createElement(o.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,o=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),s=d(n),N=r,f=s["".concat(o,".").concat(N)]||s[N]||k[N]||i;return n?a.createElement(f,p(p({ref:t},m),{},{components:n})):a.createElement(f,p({ref:t},m))}));function N(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,p=new Array(i);p[0]=s;var l={};for(var o in t)hasOwnProperty.call(t,o)&&(l[o]=t[o]);l.originalType=e,l.mdxType="string"==typeof e?e:r,p[1]=l;for(var d=2;d{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>c,frontMatter:()=>r,metadata:()=>d,toc:()=>o});var a=n(7896),i=(n(2784),n(876));const r={id:"TreeItemActions",title:"Interface: TreeItemActions",sidebar_label:"TreeItemActions",sidebar_position:0,custom_edit_url:null},l=void 0,d={unversionedId:"api/interfaces/TreeItemActions",id:"api/interfaces/TreeItemActions",title:"Interface: TreeItemActions",description:"Hierarchy",source:"@site/docs/api/interfaces/TreeItemActions.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeItemActions",permalink:"/docs/api/interfaces/TreeItemActions",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeItemActions",title:"Interface: TreeItemActions",sidebar_label:"TreeItemActions",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeItem",permalink:"/docs/api/interfaces/TreeItem"},next:{title:"TreeItemRenderContext",permalink:"/docs/api/interfaces/TreeItemRenderContext"}},p={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"addToSelectedItems",id:"addtoselecteditems",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"collapseItem",id:"collapseitem",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"expandItem",id:"expanditem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-2",level:4},{value:"focusItem",id:"focusitem",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"primaryAction",id:"primaryaction",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-4",level:4},{value:"selectItem",id:"selectitem",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Returns",id:"returns-5",level:5},{value:"Defined in",id:"defined-in-5",level:4},{value:"selectUpTo",id:"selectupto",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Defined in",id:"defined-in-6",level:4},{value:"startDragging",id:"startdragging",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Returns",id:"returns-7",level:5},{value:"Defined in",id:"defined-in-7",level:4},{value:"startRenamingItem",id:"startrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Returns",id:"returns-8",level:5},{value:"Defined in",id:"defined-in-8",level:4},{value:"stopRenamingItem",id:"stoprenamingitem",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Returns",id:"returns-9",level:5},{value:"Defined in",id:"defined-in-9",level:4},{value:"toggleExpandedState",id:"toggleexpandedstate",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Returns",id:"returns-10",level:5},{value:"Defined in",id:"defined-in-10",level:4},{value:"unselectItem",id:"unselectitem",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Returns",id:"returns-11",level:5},{value:"Defined in",id:"defined-in-11",level:4}],s={toc:o};function c(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,a.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("strong",{parentName:"p"},(0,i.kt)("inlineCode",{parentName:"strong"},"TreeItemActions"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,i.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext"))))),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"addtoselecteditems"},"addToSelectedItems"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"addToSelectedItems"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L35"},"types.ts:35")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"collapseitem"},"collapseItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"collapseItem"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-1"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L31"},"types.ts:31")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"expanditem"},"expandItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"expandItem"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-2"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L30"},"types.ts:30")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"focusitem"},"focusItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"focusItem"),": (",(0,i.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (",(0,i.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"parameters"},"Parameters"),(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,i.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,i.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"boolean")),(0,i.kt)("td",{parentName:"tr",align:"left"},"Defaults to true.")))),(0,i.kt)("h5",{id:"returns-3"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L40"},"types.ts:40")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"primaryaction"},"primaryAction"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"primaryAction"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-4"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L27"},"types.ts:27")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"selectitem"},"selectItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"selectItem"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-5"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L33"},"types.ts:33")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"selectupto"},"selectUpTo"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"selectUpTo"),": (",(0,i.kt)("inlineCode",{parentName:"p"},"overrideOldSelection?"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (",(0,i.kt)("inlineCode",{parentName:"p"},"overrideOldSelection?"),"): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"parameters-1"},"Parameters"),(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,i.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"overrideOldSelection?")),(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,i.kt)("h5",{id:"returns-6"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L36"},"types.ts:36")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"startdragging"},"startDragging"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"startDragging"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-7"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L37"},"types.ts:37")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"startrenamingitem"},"startRenamingItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"startRenamingItem"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-8"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L28"},"types.ts:28")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"stoprenamingitem"},"stopRenamingItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"stopRenamingItem"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-9"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L29"},"types.ts:29")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"toggleexpandedstate"},"toggleExpandedState"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"toggleExpandedState"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-10"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L32"},"types.ts:32")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"unselectitem"},"unselectItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"unselectItem"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-11"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L34"},"types.ts:34")))}c.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>k});var a=n(2784);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var p=a.createContext({}),o=function(e){var t=a.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},s=function(e){var t=o(e.components);return a.createElement(p.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,i=e.mdxType,r=e.originalType,p=e.parentName,s=d(e,["components","mdxType","originalType","parentName"]),u=o(n),k=i,m=u["".concat(p,".").concat(k)]||u[k]||c[k]||r;return n?a.createElement(m,l(l({ref:t},s),{},{components:n})):a.createElement(m,l({ref:t},s))}));function k(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=n.length,l=new Array(r);l[0]=u;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:i,l[1]=d;for(var o=2;o{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>c,frontMatter:()=>r,metadata:()=>p,toc:()=>o});var a=n(7896),i=(n(2784),n(876));const r={id:"TreeItemActions",title:"Interface: TreeItemActions",sidebar_label:"TreeItemActions",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeItemActions",id:"api/interfaces/TreeItemActions",title:"Interface: TreeItemActions",description:"Hierarchy",source:"@site/docs/api/interfaces/TreeItemActions.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeItemActions",permalink:"/docs/api/interfaces/TreeItemActions",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeItemActions",title:"Interface: TreeItemActions",sidebar_label:"TreeItemActions",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeItem",permalink:"/docs/api/interfaces/TreeItem"},next:{title:"TreeItemRenderContext",permalink:"/docs/api/interfaces/TreeItemRenderContext"}},d={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"addToSelectedItems",id:"addtoselecteditems",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"collapseItem",id:"collapseitem",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"expandItem",id:"expanditem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-2",level:4},{value:"focusItem",id:"focusitem",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"primaryAction",id:"primaryaction",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-4",level:4},{value:"selectItem",id:"selectitem",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Returns",id:"returns-5",level:5},{value:"Defined in",id:"defined-in-5",level:4},{value:"selectUpTo",id:"selectupto",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Defined in",id:"defined-in-6",level:4},{value:"startDragging",id:"startdragging",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Returns",id:"returns-7",level:5},{value:"Defined in",id:"defined-in-7",level:4},{value:"startRenamingItem",id:"startrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Returns",id:"returns-8",level:5},{value:"Defined in",id:"defined-in-8",level:4},{value:"stopRenamingItem",id:"stoprenamingitem",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Returns",id:"returns-9",level:5},{value:"Defined in",id:"defined-in-9",level:4},{value:"toggleExpandedState",id:"toggleexpandedstate",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Returns",id:"returns-10",level:5},{value:"Defined in",id:"defined-in-10",level:4},{value:"unselectItem",id:"unselectitem",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Returns",id:"returns-11",level:5},{value:"Defined in",id:"defined-in-11",level:4}],s={toc:o};function c(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,a.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("strong",{parentName:"p"},(0,i.kt)("inlineCode",{parentName:"strong"},"TreeItemActions"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,i.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext"))))),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"addtoselecteditems"},"addToSelectedItems"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"addToSelectedItems"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L35"},"types.ts:35")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"collapseitem"},"collapseItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"collapseItem"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-1"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L31"},"types.ts:31")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"expanditem"},"expandItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"expandItem"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-2"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L30"},"types.ts:30")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"focusitem"},"focusItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"focusItem"),": (",(0,i.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (",(0,i.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"parameters"},"Parameters"),(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,i.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,i.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"boolean")),(0,i.kt)("td",{parentName:"tr",align:"left"},"Defaults to true.")))),(0,i.kt)("h5",{id:"returns-3"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L40"},"types.ts:40")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"primaryaction"},"primaryAction"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"primaryAction"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-4"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L27"},"types.ts:27")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"selectitem"},"selectItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"selectItem"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-5"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L33"},"types.ts:33")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"selectupto"},"selectUpTo"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"selectUpTo"),": (",(0,i.kt)("inlineCode",{parentName:"p"},"overrideOldSelection?"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (",(0,i.kt)("inlineCode",{parentName:"p"},"overrideOldSelection?"),"): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"parameters-1"},"Parameters"),(0,i.kt)("table",null,(0,i.kt)("thead",{parentName:"table"},(0,i.kt)("tr",{parentName:"thead"},(0,i.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,i.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,i.kt)("tbody",{parentName:"table"},(0,i.kt)("tr",{parentName:"tbody"},(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"overrideOldSelection?")),(0,i.kt)("td",{parentName:"tr",align:"left"},(0,i.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,i.kt)("h5",{id:"returns-6"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L36"},"types.ts:36")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"startdragging"},"startDragging"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"startDragging"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-7"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L37"},"types.ts:37")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"startrenamingitem"},"startRenamingItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"startRenamingItem"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-8"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L28"},"types.ts:28")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"stoprenamingitem"},"stopRenamingItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"stopRenamingItem"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-9"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L29"},"types.ts:29")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"toggleexpandedstate"},"toggleExpandedState"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"toggleExpandedState"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-10"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L32"},"types.ts:32")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"unselectitem"},"unselectItem"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"unselectItem"),": () => ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,i.kt)("p",null,"\u25b8 (): ",(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h5",{id:"returns-11"},"Returns"),(0,i.kt)("p",null,(0,i.kt)("inlineCode",{parentName:"p"},"void")),(0,i.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L34"},"types.ts:34")))}c.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>k});var a=n(2784);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},s=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,i=e.mdxType,r=e.originalType,d=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),u=o(n),k=i,m=u["".concat(d,".").concat(k)]||u[k]||c[k]||r;return n?a.createElement(m,l(l({ref:t},s),{},{components:n})):a.createElement(m,l({ref:t},s))}));function k(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=n.length,l=new Array(r);l[0]=u;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:i,l[1]=p;for(var o=2;o{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>s});var n=r(7896),a=(r(2784),r(876));const i={id:"TreeConfiguration",title:"Interface: TreeConfiguration",sidebar_label:"TreeConfiguration",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"api/interfaces/TreeConfiguration",id:"api/interfaces/TreeConfiguration",title:"Interface: TreeConfiguration",description:"Hierarchy",source:"@site/docs/api/interfaces/TreeConfiguration.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeConfiguration",permalink:"/docs/api/interfaces/TreeConfiguration",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeConfiguration",title:"Interface: TreeConfiguration",sidebar_label:"TreeConfiguration",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeChangeHandlers",permalink:"/docs/api/interfaces/TreeChangeHandlers"},next:{title:"TreeContextProps",permalink:"/docs/api/interfaces/TreeContextProps"}},p={},s=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"rootItem",id:"rootitem",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"treeId",id:"treeid",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"treeLabel",id:"treelabel",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"treeLabelledBy",id:"treelabelledby",level:3},{value:"Defined in",id:"defined-in-3",level:4}],c={toc:s};function d(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("inlineCode",{parentName:"strong"},"TreeConfiguration"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeInformation"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeProps"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeProps"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeContextProps"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeContextProps"))))),(0,a.kt)("h2",{id:"properties"},"Properties"),(0,a.kt)("h3",{id:"rootitem"},"rootItem"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"rootItem"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"defined-in"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L387"},"types.ts:387")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"treeid"},"treeId"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"treeId"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L386"},"types.ts:386")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"treelabel"},"treeLabel"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"treeLabel"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L388"},"types.ts:388")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"treelabelledby"},"treeLabelledBy"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"treeLabelledBy"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L389"},"types.ts:389")))}d.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>f});var n=r(2784);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),s=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=s(e.components);return n.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,p=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),u=s(r),f=a,m=u["".concat(p,".").concat(f)]||u[f]||d[f]||i;return r?n.createElement(m,o(o({ref:t},c),{},{components:r})):n.createElement(m,o({ref:t},c))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=u;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:a,o[1]=l;for(var s=2;s{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>c});var n=r(7896),a=(r(2784),r(876));const i={id:"TreeConfiguration",title:"Interface: TreeConfiguration",sidebar_label:"TreeConfiguration",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"api/interfaces/TreeConfiguration",id:"api/interfaces/TreeConfiguration",title:"Interface: TreeConfiguration",description:"Hierarchy",source:"@site/docs/api/interfaces/TreeConfiguration.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeConfiguration",permalink:"/docs/api/interfaces/TreeConfiguration",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeConfiguration",title:"Interface: TreeConfiguration",sidebar_label:"TreeConfiguration",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeChangeHandlers",permalink:"/docs/api/interfaces/TreeChangeHandlers"},next:{title:"TreeContextProps",permalink:"/docs/api/interfaces/TreeContextProps"}},p={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"rootItem",id:"rootitem",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"treeId",id:"treeid",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"treeLabel",id:"treelabel",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"treeLabelledBy",id:"treelabelledby",level:3},{value:"Defined in",id:"defined-in-3",level:4}],s={toc:c};function d(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("inlineCode",{parentName:"strong"},"TreeConfiguration"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeInformation"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeProps"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeProps"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeContextProps"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeContextProps"))))),(0,a.kt)("h2",{id:"properties"},"Properties"),(0,a.kt)("h3",{id:"rootitem"},"rootItem"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"rootItem"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"defined-in"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L387"},"types.ts:387")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"treeid"},"treeId"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"treeId"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L386"},"types.ts:386")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"treelabel"},"treeLabel"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"treeLabel"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L388"},"types.ts:388")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"treelabelledby"},"treeLabelledBy"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"treeLabelledBy"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"string")),(0,a.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L389"},"types.ts:389")))}d.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>f});var n=r(2784);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},s=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,p=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),u=c(r),f=a,m=u["".concat(p,".").concat(f)]||u[f]||d[f]||i;return r?n.createElement(m,o(o({ref:t},s),{},{components:r})):n.createElement(m,o({ref:t},s))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=u;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:a,o[1]=l;for(var c=2;c{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>p,toc:()=>s});var i=r(7896),n=(r(2784),r(876));const a={id:"DraggingPositionRoot",title:"Interface: DraggingPositionRoot",sidebar_label:"DraggingPositionRoot",sidebar_position:0,custom_edit_url:null},o=void 0,p={unversionedId:"api/interfaces/DraggingPositionRoot",id:"api/interfaces/DraggingPositionRoot",title:"Interface: DraggingPositionRoot",description:"Hierarchy",source:"@site/docs/api/interfaces/DraggingPositionRoot.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/DraggingPositionRoot",permalink:"/docs/api/interfaces/DraggingPositionRoot",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DraggingPositionRoot",title:"Interface: DraggingPositionRoot",sidebar_label:"DraggingPositionRoot",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"DraggingPositionItem",permalink:"/docs/api/interfaces/DraggingPositionItem"},next:{title:"ExplicitDataSource",permalink:"/docs/api/interfaces/ExplicitDataSource"}},l={},s=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"depth",id:"depth",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"linearIndex",id:"linearindex",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"targetItem",id:"targetitem",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"targetType",id:"targettype",level:3},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"treeId",id:"treeid",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-4",level:4}],d={toc:s};function c(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,i.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},(0,n.kt)("inlineCode",{parentName:"a"},"AbstractDraggingPosition"))),(0,n.kt)("p",{parentName:"li"},"\u21b3 ",(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("inlineCode",{parentName:"strong"},"DraggingPositionRoot"))))),(0,n.kt)("h2",{id:"properties"},"Properties"),(0,n.kt)("h3",{id:"depth"},"depth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"depth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#depth"},"depth")),(0,n.kt)("h4",{id:"defined-in"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L342"},"types.ts:342")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"linearindex"},"linearIndex"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"linearIndex"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#linearindex"},"linearIndex")),(0,n.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L341"},"types.ts:341")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"targetitem"},"targetItem"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"targetItem"),": ",(0,n.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,n.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,n.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L360"},"types.ts:360")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"targettype"},"targetType"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"targetType"),": ",(0,n.kt)("inlineCode",{parentName:"p"},'"root"')),(0,n.kt)("h4",{id:"overrides"},"Overrides"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#targettype"},"targetType")),(0,n.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L359"},"types.ts:359")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"treeid"},"treeId"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"treeId"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#treeid"},"treeId")),(0,n.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L340"},"types.ts:340")))}c.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>d,kt:()=>u});var i=r(2784);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function o(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=i.createContext({}),s=function(e){var t=i.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},d=function(e){var t=s(e.components);return i.createElement(l.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},g=i.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,l=e.parentName,d=p(e,["components","mdxType","originalType","parentName"]),g=s(r),u=n,f=g["".concat(l,".").concat(u)]||g[u]||c[u]||a;return r?i.createElement(f,o(o({ref:t},d),{},{components:r})):i.createElement(f,o({ref:t},d))}));function u(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,o=new Array(a);o[0]=g;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeof e?e:n,o[1]=p;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>d,frontMatter:()=>a,metadata:()=>p,toc:()=>s});var i=r(7896),n=(r(2784),r(876));const a={id:"DraggingPositionRoot",title:"Interface: DraggingPositionRoot",sidebar_label:"DraggingPositionRoot",sidebar_position:0,custom_edit_url:null},o=void 0,p={unversionedId:"api/interfaces/DraggingPositionRoot",id:"api/interfaces/DraggingPositionRoot",title:"Interface: DraggingPositionRoot",description:"Hierarchy",source:"@site/docs/api/interfaces/DraggingPositionRoot.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/DraggingPositionRoot",permalink:"/docs/api/interfaces/DraggingPositionRoot",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"DraggingPositionRoot",title:"Interface: DraggingPositionRoot",sidebar_label:"DraggingPositionRoot",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"DraggingPositionItem",permalink:"/docs/api/interfaces/DraggingPositionItem"},next:{title:"ExplicitDataSource",permalink:"/docs/api/interfaces/ExplicitDataSource"}},l={},s=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"depth",id:"depth",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"linearIndex",id:"linearindex",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"targetItem",id:"targetitem",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"targetType",id:"targettype",level:3},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"treeId",id:"treeid",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-4",level:4}],c={toc:s};function d(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,i.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},(0,n.kt)("inlineCode",{parentName:"a"},"AbstractDraggingPosition"))),(0,n.kt)("p",{parentName:"li"},"\u21b3 ",(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("inlineCode",{parentName:"strong"},"DraggingPositionRoot"))))),(0,n.kt)("h2",{id:"properties"},"Properties"),(0,n.kt)("h3",{id:"depth"},"depth"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"depth"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#depth"},"depth")),(0,n.kt)("h4",{id:"defined-in"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L342"},"types.ts:342")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"linearindex"},"linearIndex"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"linearIndex"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"number")),(0,n.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#linearindex"},"linearIndex")),(0,n.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L341"},"types.ts:341")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"targetitem"},"targetItem"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"targetItem"),": ",(0,n.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,n.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,n.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L360"},"types.ts:360")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"targettype"},"targetType"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"targetType"),": ",(0,n.kt)("inlineCode",{parentName:"p"},'"root"')),(0,n.kt)("h4",{id:"overrides"},"Overrides"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#targettype"},"targetType")),(0,n.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L359"},"types.ts:359")),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"treeid"},"treeId"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"treeId"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"string")),(0,n.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition"),".",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/AbstractDraggingPosition#treeid"},"treeId")),(0,n.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L340"},"types.ts:340")))}d.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>u});var i=r(2784);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function o(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=i.createContext({}),s=function(e){var t=i.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=s(e.components);return i.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},g=i.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,l=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),g=s(r),u=n,f=g["".concat(l,".").concat(u)]||g[u]||d[u]||a;return r?i.createElement(f,o(o({ref:t},c),{},{components:r})):i.createElement(f,o({ref:t},c))}));function u(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,o=new Array(a);o[0]=g;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeof e?e:n,o[1]=p;for(var s=2;s{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>k,frontMatter:()=>i,metadata:()=>p,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"TreeEnvironmentRef",title:"Interface: TreeEnvironmentRef",sidebar_label:"TreeEnvironmentRef",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeEnvironmentRef",id:"api/interfaces/TreeEnvironmentRef",title:"Interface: TreeEnvironmentRef",description:"Type parameters",source:"@site/docs/api/interfaces/TreeEnvironmentRef.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeEnvironmentRef",permalink:"/docs/api/interfaces/TreeEnvironmentRef",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeEnvironmentRef",title:"Interface: TreeEnvironmentRef",sidebar_label:"TreeEnvironmentRef",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeEnvironmentContextProps",permalink:"/docs/api/interfaces/TreeEnvironmentContextProps"},next:{title:"TreeInformation",permalink:"/docs/api/interfaces/TreeInformation"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"abortProgrammaticDrag",id:"abortprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"activeTreeId",id:"activetreeid",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"autoFocus",id:"autofocus",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"canDrag",id:"candrag",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"canDragAndDrop",id:"candraganddrop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"canDropAt",id:"candropat",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"canDropBelowOpenFolders",id:"candropbelowopenfolders",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"canDropOnFolder",id:"candroponfolder",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"canDropOnNonFolder",id:"candroponnonfolder",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"canInvokePrimaryActionOnItemContainer",id:"caninvokeprimaryactiononitemcontainer",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"canRename",id:"canrename",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"canReorderItems",id:"canreorderitems",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"canSearch",id:"cansearch",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"canSearchByStartingTyping",id:"cansearchbystartingtyping",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"collapseAll",id:"collapseall",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"collapseItem",id:"collapseitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"completeProgrammaticDrag",id:"completeprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"defaultInteractionMode",id:"defaultinteractionmode",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"disableArrowKeys",id:"disablearrowkeys",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"doesSearchMatchItem",id:"doessearchmatchitem",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"dragAndDropContext",id:"draganddropcontext",level:3},{value:"Defined in",id:"defined-in-20",level:4},{value:"expandAll",id:"expandall",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"expandItem",id:"expanditem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"expandSubsequently",id:"expandsubsequently",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"focusItem",id:"focusitem",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"focusTree",id:"focustree",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-11",level:5},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"getItemTitle",id:"getitemtitle",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-12",level:5},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"invokePrimaryAction",id:"invokeprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-13",level:5},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"items",id:"items",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"keyboardBindings",id:"keyboardbindings",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"liveDescriptors",id:"livedescriptors",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"moveFocusDown",id:"movefocusdown",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"moveFocusUp",id:"movefocusup",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-13",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"moveProgrammaticDragPositionDown",id:"moveprogrammaticdragpositiondown",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Returns",id:"returns-16",level:5},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"moveProgrammaticDragPositionUp",id:"moveprogrammaticdragpositionup",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Returns",id:"returns-17",level:5},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"renameItem",id:"renameitem",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-14",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"renderDepthOffset",id:"renderdepthoffset",level:3},{value:"Inherited from",id:"inherited-from-34",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"renderDragBetweenLine",id:"renderdragbetweenline",level:3},{value:"Type declaration",id:"type-declaration-19",level:4},{value:"Parameters",id:"parameters-15",level:5},{value:"Returns",id:"returns-19",level:5},{value:"Inherited from",id:"inherited-from-35",level:4},{value:"Defined in",id:"defined-in-37",level:4},{value:"renderItem",id:"renderitem",level:3},{value:"Type declaration",id:"type-declaration-20",level:4},{value:"Parameters",id:"parameters-16",level:5},{value:"Returns",id:"returns-20",level:5},{value:"Inherited from",id:"inherited-from-36",level:4},{value:"Defined in",id:"defined-in-38",level:4},{value:"renderItemArrow",id:"renderitemarrow",level:3},{value:"Type declaration",id:"type-declaration-21",level:4},{value:"Parameters",id:"parameters-17",level:5},{value:"Returns",id:"returns-21",level:5},{value:"Inherited from",id:"inherited-from-37",level:4},{value:"Defined in",id:"defined-in-39",level:4},{value:"renderItemTitle",id:"renderitemtitle",level:3},{value:"Type declaration",id:"type-declaration-22",level:4},{value:"Parameters",id:"parameters-18",level:5},{value:"Returns",id:"returns-22",level:5},{value:"Inherited from",id:"inherited-from-38",level:4},{value:"Defined in",id:"defined-in-40",level:4},{value:"renderItemsContainer",id:"renderitemscontainer",level:3},{value:"Type declaration",id:"type-declaration-23",level:4},{value:"Parameters",id:"parameters-19",level:5},{value:"Returns",id:"returns-23",level:5},{value:"Inherited from",id:"inherited-from-39",level:4},{value:"Defined in",id:"defined-in-41",level:4},{value:"renderLiveDescriptorContainer",id:"renderlivedescriptorcontainer",level:3},{value:"Type declaration",id:"type-declaration-24",level:4},{value:"Parameters",id:"parameters-20",level:5},{value:"Returns",id:"returns-24",level:5},{value:"Inherited from",id:"inherited-from-40",level:4},{value:"Defined in",id:"defined-in-42",level:4},{value:"renderRenameInput",id:"renderrenameinput",level:3},{value:"Type declaration",id:"type-declaration-25",level:4},{value:"Parameters",id:"parameters-21",level:5},{value:"Returns",id:"returns-25",level:5},{value:"Inherited from",id:"inherited-from-41",level:4},{value:"Defined in",id:"defined-in-43",level:4},{value:"renderSearchInput",id:"rendersearchinput",level:3},{value:"Type declaration",id:"type-declaration-26",level:4},{value:"Parameters",id:"parameters-22",level:5},{value:"Returns",id:"returns-26",level:5},{value:"Inherited from",id:"inherited-from-42",level:4},{value:"Defined in",id:"defined-in-44",level:4},{value:"renderTreeContainer",id:"rendertreecontainer",level:3},{value:"Type declaration",id:"type-declaration-27",level:4},{value:"Parameters",id:"parameters-23",level:5},{value:"Returns",id:"returns-27",level:5},{value:"Inherited from",id:"inherited-from-43",level:4},{value:"Defined in",id:"defined-in-45",level:4},{value:"selectItems",id:"selectitems",level:3},{value:"Type declaration",id:"type-declaration-28",level:4},{value:"Parameters",id:"parameters-24",level:5},{value:"Returns",id:"returns-28",level:5},{value:"Inherited from",id:"inherited-from-44",level:4},{value:"Defined in",id:"defined-in-46",level:4},{value:"shouldRenderChildren",id:"shouldrenderchildren",level:3},{value:"Type declaration",id:"type-declaration-29",level:4},{value:"Parameters",id:"parameters-25",level:5},{value:"Returns",id:"returns-29",level:5},{value:"Inherited from",id:"inherited-from-45",level:4},{value:"Defined in",id:"defined-in-47",level:4},{value:"showLiveDescription",id:"showlivedescription",level:3},{value:"Inherited from",id:"inherited-from-46",level:4},{value:"Defined in",id:"defined-in-48",level:4},{value:"startProgrammaticDrag",id:"startprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration-30",level:4},{value:"Returns",id:"returns-30",level:5},{value:"Inherited from",id:"inherited-from-47",level:4},{value:"Defined in",id:"defined-in-49",level:4},{value:"toggleItemExpandedState",id:"toggleitemexpandedstate",level:3},{value:"Type declaration",id:"type-declaration-31",level:4},{value:"Parameters",id:"parameters-26",level:5},{value:"Returns",id:"returns-31",level:5},{value:"Inherited from",id:"inherited-from-48",level:4},{value:"Defined in",id:"defined-in-50",level:4},{value:"toggleItemSelectStatus",id:"toggleitemselectstatus",level:3},{value:"Type declaration",id:"type-declaration-32",level:4},{value:"Parameters",id:"parameters-27",level:5},{value:"Returns",id:"returns-32",level:5},{value:"Inherited from",id:"inherited-from-49",level:4},{value:"Defined in",id:"defined-in-51",level:4},{value:"treeEnvironmentContext",id:"treeenvironmentcontext",level:3},{value:"Defined in",id:"defined-in-52",level:4},{value:"treeIds",id:"treeids",level:3},{value:"Defined in",id:"defined-in-53",level:4},{value:"trees",id:"trees",level:3},{value:"Defined in",id:"defined-in-54",level:4},{value:"viewState",id:"viewstate",level:3},{value:"Inherited from",id:"inherited-from-50",level:4},{value:"Defined in",id:"defined-in-55",level:4}],m={toc:o};function k(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentChangeActions")))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("inlineCode",{parentName:"p"},"Omit"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentConfiguration")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">",", keyof ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeChangeHandlers")),">"),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeEnvironmentRef"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"abortprogrammaticdrag"},"abortProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"abortProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#abortprogrammaticdrag"},"abortProgrammaticDrag")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L260"},"types.ts:260")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"activetreeid"},"activeTreeId"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"activeTreeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L279"},"types.ts:279")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"autofocus"},"autoFocus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"autoFocus"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,"Omit.autoFocus"),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L174"},"types.ts:174")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candrag"},"canDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDrag"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDrag"),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L168"},"types.ts:168")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candraganddrop"},"canDragAndDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDragAndDrop"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDragAndDrop"),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L164"},"types.ts:164")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropat"},"canDropAt"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropAt"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropAt"),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L169"},"types.ts:169")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropbelowopenfolders"},"canDropBelowOpenFolders"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropBelowOpenFolders"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("p",null,"See Issue #148 or the sample at\n",(0,r.kt)("a",{parentName:"p",href:"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"},"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"),"\nfor details."),(0,r.kt)("p",null,"If enabled, dropping at the bottom of an open folder will drop the items\nin the parent folder below the hovered item instead of inside the folder\nat the top."),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropBelowOpenFolders"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L195"},"types.ts:195")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponfolder"},"canDropOnFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropOnFolder"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L165"},"types.ts:165")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponnonfolder"},"canDropOnNonFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnNonFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropOnNonFolder"),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L166"},"types.ts:166")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canInvokePrimaryActionOnItemContainer"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,"Omit.canInvokePrimaryActionOnItemContainer"),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L170"},"types.ts:170")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canrename"},"canRename"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canRename"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,"Omit.canRename"),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L173"},"types.ts:173")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canreorderitems"},"canReorderItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canReorderItems"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,"Omit.canReorderItems"),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L167"},"types.ts:167")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearch"},"canSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,"Omit.canSearch"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L171"},"types.ts:171")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearchbystartingtyping"},"canSearchByStartingTyping"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearchByStartingTyping"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,"Omit.canSearchByStartingTyping"),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L172"},"types.ts:172")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseall"},"collapseAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseAll"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#collapseall"},"collapseAll")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L265"},"types.ts:265")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseitem"},"collapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#collapseitem"},"collapseItem")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L243"},"types.ts:243")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"completeprogrammaticdrag"},"completeProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"completeProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#completeprogrammaticdrag"},"completeProgrammaticDrag")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L261"},"types.ts:261")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"defaultinteractionmode"},"defaultInteractionMode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"defaultInteractionMode"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/enums/InteractionMode"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionMode"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/InteractionManager"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionManager")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,r.kt)("p",null,"Omit.defaultInteractionMode"),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L163"},"types.ts:163")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disablearrowkeys"},"disableArrowKeys"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"disableArrowKeys"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,r.kt)("p",null,"Omit.disableArrowKeys"),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L197"},"types.ts:197")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"doessearchmatchitem"},"doesSearchMatchItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"doesSearchMatchItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemTitle")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,r.kt)("p",null,"Omit.doesSearchMatchItem"),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L175"},"types.ts:175")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"draganddropcontext"},"dragAndDropContext"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"dragAndDropContext"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DragAndDropContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"DragAndDropContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"),(0,r.kt)("h4",{id:"defined-in-20"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L278"},"types.ts:278")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandall"},"expandAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandAll"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#expandall"},"expandAll")),(0,r.kt)("h4",{id:"defined-in-21"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L264"},"types.ts:264")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expanditem"},"expandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#expanditem"},"expandItem")),(0,r.kt)("h4",{id:"defined-in-22"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L244"},"types.ts:244")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandsubsequently"},"expandSubsequently"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandSubsequently"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#expandsubsequently"},"expandSubsequently")),(0,r.kt)("h4",{id:"defined-in-23"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L266"},"types.ts:266")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focusitem"},"focusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string")),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean")),(0,r.kt)("td",{parentName:"tr",align:"left"},"Defaults to true.")))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#focusitem"},"focusItem")),(0,r.kt)("h4",{id:"defined-in-24"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L251"},"types.ts:251")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focustree"},"focusTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"autoFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#focustree"},"focusTree")),(0,r.kt)("h4",{id:"defined-in-25"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L241"},"types.ts:241")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"getitemtitle"},"getItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"getItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,r.kt)("p",null,"Omit.getItemTitle"),(0,r.kt)("h4",{id:"defined-in-26"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L292"},"types.ts:292")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"invokeprimaryaction"},"invokePrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"invokePrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeID"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeID"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeID")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#invokeprimaryaction"},"invokePrimaryAction")),(0,r.kt)("h4",{id:"defined-in-27"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L248"},"types.ts:248")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"items"},"items"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"items"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,r.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,r.kt)("p",null,"Omit.items"),(0,r.kt)("h4",{id:"defined-in-28"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L211"},"types.ts:211")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"keyboardbindings"},"keyboardBindings"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"keyboardBindings"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/KeyboardBindings"},(0,r.kt)("inlineCode",{parentName:"a"},"KeyboardBindings"))),(0,r.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,r.kt)("p",null,"Omit.keyboardBindings"),(0,r.kt)("h4",{id:"defined-in-29"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L290"},"types.ts:290")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"livedescriptors"},"liveDescriptors"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"liveDescriptors"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/LiveDescriptors"},(0,r.kt)("inlineCode",{parentName:"a"},"LiveDescriptors"))),(0,r.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,r.kt)("p",null,"Omit.liveDescriptors"),(0,r.kt)("h4",{id:"defined-in-30"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L291"},"types.ts:291")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusdown"},"moveFocusDown"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusDown"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-12"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#movefocusdown"},"moveFocusDown")),(0,r.kt)("h4",{id:"defined-in-31"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L258"},"types.ts:258")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusup"},"moveFocusUp"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusUp"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-13"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#movefocusup"},"moveFocusUp")),(0,r.kt)("h4",{id:"defined-in-32"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L257"},"types.ts:257")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"moveprogrammaticdragpositiondown"},"moveProgrammaticDragPositionDown"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveProgrammaticDragPositionDown"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#moveprogrammaticdragpositiondown"},"moveProgrammaticDragPositionDown")),(0,r.kt)("h4",{id:"defined-in-33"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L263"},"types.ts:263")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"moveprogrammaticdragpositionup"},"moveProgrammaticDragPositionUp"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveProgrammaticDragPositionUp"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#moveprogrammaticdragpositionup"},"moveProgrammaticDragPositionUp")),(0,r.kt)("h4",{id:"defined-in-34"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L262"},"types.ts:262")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renameitem"},"renameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-14"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#renameitem"},"renameItem")),(0,r.kt)("h4",{id:"defined-in-35"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L242"},"types.ts:242")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdepthoffset"},"renderDepthOffset"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDepthOffset"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderDepthOffset"),(0,r.kt)("h4",{id:"defined-in-36"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L136"},"types.ts:136")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdragbetweenline"},"renderDragBetweenLine"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDragBetweenLine"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"lineProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-19"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-15"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.draggingPosition")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.lineProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-19"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-35"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderDragBetweenLine"),(0,r.kt)("h4",{id:"defined-in-37"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L122"},"types.ts:122")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitem"},"renderItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"arrow"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-20"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-16"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.arrow")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))))),(0,r.kt)("h5",{id:"returns-20"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-36"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderItem"),(0,r.kt)("h4",{id:"defined-in-38"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L76"},"types.ts:76")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemarrow"},"renderItemArrow"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemArrow"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-21"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-17"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-21"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-37"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderItemArrow"),(0,r.kt)("h4",{id:"defined-in-39"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L93"},"types.ts:93")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemtitle"},"renderItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-22"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-18"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-22"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-38"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderItemTitle"),(0,r.kt)("h4",{id:"defined-in-40"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L86"},"types.ts:86")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemscontainer"},"renderItemsContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemsContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"parentId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-23"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-19"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.parentId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-23"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-39"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderItemsContainer"),(0,r.kt)("h4",{id:"defined-in-41"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L108"},"types.ts:108")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderlivedescriptorcontainer"},"renderLiveDescriptorContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderLiveDescriptorContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-24"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-20"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-24"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-40"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderLiveDescriptorContainer"),(0,r.kt)("h4",{id:"defined-in-42"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L131"},"types.ts:131")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderrenameinput"},"renderRenameInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderRenameInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"formProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLFormElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-25"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-21"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.formProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLFormElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-25"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-41"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderRenameInput"),(0,r.kt)("h4",{id:"defined-in-43"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L99"},"types.ts:99")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendersearchinput"},"renderSearchInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderSearchInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-26"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-22"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")))),(0,r.kt)("h5",{id:"returns-26"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-42"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderSearchInput"),(0,r.kt)("h4",{id:"defined-in-44"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L127"},"types.ts:127")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendertreecontainer"},"renderTreeContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderTreeContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-27"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-23"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))))),(0,r.kt)("h5",{id:"returns-27"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-43"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderTreeContainer"),(0,r.kt)("h4",{id:"defined-in-45"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L116"},"types.ts:116")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"selectitems"},"selectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"selectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-28"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-24"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemsIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-28"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-44"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#selectitems"},"selectItems")),(0,r.kt)("h4",{id:"defined-in-46"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L246"},"types.ts:246")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"shouldrenderchildren"},"shouldRenderChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"shouldRenderChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-29"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-25"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"never"),">")))),(0,r.kt)("h5",{id:"returns-29"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-45"},"Inherited from"),(0,r.kt)("p",null,"Omit.shouldRenderChildren"),(0,r.kt)("h4",{id:"defined-in-47"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L181"},"types.ts:181")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"showlivedescription"},"showLiveDescription"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"showLiveDescription"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-46"},"Inherited from"),(0,r.kt)("p",null,"Omit.showLiveDescription"),(0,r.kt)("h4",{id:"defined-in-48"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L180"},"types.ts:180")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startprogrammaticdrag"},"startProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"startProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-30"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-30"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-47"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#startprogrammaticdrag"},"startProgrammaticDrag")),(0,r.kt)("h4",{id:"defined-in-49"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L259"},"types.ts:259")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemexpandedstate"},"toggleItemExpandedState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemExpandedState"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-31"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-26"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-31"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-48"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#toggleitemexpandedstate"},"toggleItemExpandedState")),(0,r.kt)("h4",{id:"defined-in-50"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L245"},"types.ts:245")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemselectstatus"},"toggleItemSelectStatus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemSelectStatus"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-32"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-27"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-32"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-49"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#toggleitemselectstatus"},"toggleItemSelectStatus")),(0,r.kt)("h4",{id:"defined-in-51"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L247"},"types.ts:247")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeenvironmentcontext"},"treeEnvironmentContext"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeEnvironmentContext"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"defined-in-52"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L277"},"types.ts:277")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeids"},"treeIds"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeIds"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-53"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L280"},"types.ts:280")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"trees"},"trees"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"trees"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),">"),(0,r.kt)("h4",{id:"defined-in-54"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L281"},"types.ts:281")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"viewstate"},"viewState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"viewState"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeViewState"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeViewState")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"),(0,r.kt)("h4",{id:"inherited-from-50"},"Inherited from"),(0,r.kt)("p",null,"Omit.viewState"),(0,r.kt)("h4",{id:"defined-in-55"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L289"},"types.ts:289")))}k.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>N});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=p(e,["components","mdxType","originalType","parentName"]),s=o(n),N=r,c=s["".concat(d,".").concat(N)]||s[N]||k[N]||i;return n?a.createElement(c,l(l({ref:t},m),{},{components:n})):a.createElement(c,l({ref:t},m))}));function N(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,l=new Array(i);l[0]=s;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var o=2;o{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>k,frontMatter:()=>i,metadata:()=>p,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"TreeEnvironmentRef",title:"Interface: TreeEnvironmentRef",sidebar_label:"TreeEnvironmentRef",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeEnvironmentRef",id:"api/interfaces/TreeEnvironmentRef",title:"Interface: TreeEnvironmentRef",description:"Type parameters",source:"@site/docs/api/interfaces/TreeEnvironmentRef.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeEnvironmentRef",permalink:"/docs/api/interfaces/TreeEnvironmentRef",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeEnvironmentRef",title:"Interface: TreeEnvironmentRef",sidebar_label:"TreeEnvironmentRef",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeEnvironmentContextProps",permalink:"/docs/api/interfaces/TreeEnvironmentContextProps"},next:{title:"TreeInformation",permalink:"/docs/api/interfaces/TreeInformation"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"abortProgrammaticDrag",id:"abortprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"activeTreeId",id:"activetreeid",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"autoFocus",id:"autofocus",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"canDrag",id:"candrag",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"canDragAndDrop",id:"candraganddrop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"canDropAt",id:"candropat",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"canDropBelowOpenFolders",id:"candropbelowopenfolders",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"canDropOnFolder",id:"candroponfolder",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"canDropOnNonFolder",id:"candroponnonfolder",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"canInvokePrimaryActionOnItemContainer",id:"caninvokeprimaryactiononitemcontainer",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"canRename",id:"canrename",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"canReorderItems",id:"canreorderitems",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"canSearch",id:"cansearch",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"canSearchByStartingTyping",id:"cansearchbystartingtyping",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"collapseAll",id:"collapseall",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"collapseItem",id:"collapseitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"completeProgrammaticDrag",id:"completeprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"defaultInteractionMode",id:"defaultinteractionmode",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"disableArrowKeys",id:"disablearrowkeys",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"doesSearchMatchItem",id:"doessearchmatchitem",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"dragAndDropContext",id:"draganddropcontext",level:3},{value:"Defined in",id:"defined-in-20",level:4},{value:"expandAll",id:"expandall",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"expandItem",id:"expanditem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"expandSubsequently",id:"expandsubsequently",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"focusItem",id:"focusitem",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"focusTree",id:"focustree",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-11",level:5},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"getItemTitle",id:"getitemtitle",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-12",level:5},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"invokePrimaryAction",id:"invokeprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-13",level:5},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"items",id:"items",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"keyboardBindings",id:"keyboardbindings",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"liveDescriptors",id:"livedescriptors",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"moveFocusDown",id:"movefocusdown",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"moveFocusUp",id:"movefocusup",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-13",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"moveProgrammaticDragPositionDown",id:"moveprogrammaticdragpositiondown",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Returns",id:"returns-16",level:5},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"moveProgrammaticDragPositionUp",id:"moveprogrammaticdragpositionup",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Returns",id:"returns-17",level:5},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"Defined in",id:"defined-in-34",level:4},{value:"renameItem",id:"renameitem",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-14",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"renderDepthOffset",id:"renderdepthoffset",level:3},{value:"Inherited from",id:"inherited-from-34",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"renderDragBetweenLine",id:"renderdragbetweenline",level:3},{value:"Type declaration",id:"type-declaration-19",level:4},{value:"Parameters",id:"parameters-15",level:5},{value:"Returns",id:"returns-19",level:5},{value:"Inherited from",id:"inherited-from-35",level:4},{value:"Defined in",id:"defined-in-37",level:4},{value:"renderItem",id:"renderitem",level:3},{value:"Type declaration",id:"type-declaration-20",level:4},{value:"Parameters",id:"parameters-16",level:5},{value:"Returns",id:"returns-20",level:5},{value:"Inherited from",id:"inherited-from-36",level:4},{value:"Defined in",id:"defined-in-38",level:4},{value:"renderItemArrow",id:"renderitemarrow",level:3},{value:"Type declaration",id:"type-declaration-21",level:4},{value:"Parameters",id:"parameters-17",level:5},{value:"Returns",id:"returns-21",level:5},{value:"Inherited from",id:"inherited-from-37",level:4},{value:"Defined in",id:"defined-in-39",level:4},{value:"renderItemTitle",id:"renderitemtitle",level:3},{value:"Type declaration",id:"type-declaration-22",level:4},{value:"Parameters",id:"parameters-18",level:5},{value:"Returns",id:"returns-22",level:5},{value:"Inherited from",id:"inherited-from-38",level:4},{value:"Defined in",id:"defined-in-40",level:4},{value:"renderItemsContainer",id:"renderitemscontainer",level:3},{value:"Type declaration",id:"type-declaration-23",level:4},{value:"Parameters",id:"parameters-19",level:5},{value:"Returns",id:"returns-23",level:5},{value:"Inherited from",id:"inherited-from-39",level:4},{value:"Defined in",id:"defined-in-41",level:4},{value:"renderLiveDescriptorContainer",id:"renderlivedescriptorcontainer",level:3},{value:"Type declaration",id:"type-declaration-24",level:4},{value:"Parameters",id:"parameters-20",level:5},{value:"Returns",id:"returns-24",level:5},{value:"Inherited from",id:"inherited-from-40",level:4},{value:"Defined in",id:"defined-in-42",level:4},{value:"renderRenameInput",id:"renderrenameinput",level:3},{value:"Type declaration",id:"type-declaration-25",level:4},{value:"Parameters",id:"parameters-21",level:5},{value:"Returns",id:"returns-25",level:5},{value:"Inherited from",id:"inherited-from-41",level:4},{value:"Defined in",id:"defined-in-43",level:4},{value:"renderSearchInput",id:"rendersearchinput",level:3},{value:"Type declaration",id:"type-declaration-26",level:4},{value:"Parameters",id:"parameters-22",level:5},{value:"Returns",id:"returns-26",level:5},{value:"Inherited from",id:"inherited-from-42",level:4},{value:"Defined in",id:"defined-in-44",level:4},{value:"renderTreeContainer",id:"rendertreecontainer",level:3},{value:"Type declaration",id:"type-declaration-27",level:4},{value:"Parameters",id:"parameters-23",level:5},{value:"Returns",id:"returns-27",level:5},{value:"Inherited from",id:"inherited-from-43",level:4},{value:"Defined in",id:"defined-in-45",level:4},{value:"selectItems",id:"selectitems",level:3},{value:"Type declaration",id:"type-declaration-28",level:4},{value:"Parameters",id:"parameters-24",level:5},{value:"Returns",id:"returns-28",level:5},{value:"Inherited from",id:"inherited-from-44",level:4},{value:"Defined in",id:"defined-in-46",level:4},{value:"shouldRenderChildren",id:"shouldrenderchildren",level:3},{value:"Type declaration",id:"type-declaration-29",level:4},{value:"Parameters",id:"parameters-25",level:5},{value:"Returns",id:"returns-29",level:5},{value:"Inherited from",id:"inherited-from-45",level:4},{value:"Defined in",id:"defined-in-47",level:4},{value:"showLiveDescription",id:"showlivedescription",level:3},{value:"Inherited from",id:"inherited-from-46",level:4},{value:"Defined in",id:"defined-in-48",level:4},{value:"startProgrammaticDrag",id:"startprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration-30",level:4},{value:"Returns",id:"returns-30",level:5},{value:"Inherited from",id:"inherited-from-47",level:4},{value:"Defined in",id:"defined-in-49",level:4},{value:"toggleItemExpandedState",id:"toggleitemexpandedstate",level:3},{value:"Type declaration",id:"type-declaration-31",level:4},{value:"Parameters",id:"parameters-26",level:5},{value:"Returns",id:"returns-31",level:5},{value:"Inherited from",id:"inherited-from-48",level:4},{value:"Defined in",id:"defined-in-50",level:4},{value:"toggleItemSelectStatus",id:"toggleitemselectstatus",level:3},{value:"Type declaration",id:"type-declaration-32",level:4},{value:"Parameters",id:"parameters-27",level:5},{value:"Returns",id:"returns-32",level:5},{value:"Inherited from",id:"inherited-from-49",level:4},{value:"Defined in",id:"defined-in-51",level:4},{value:"treeEnvironmentContext",id:"treeenvironmentcontext",level:3},{value:"Defined in",id:"defined-in-52",level:4},{value:"treeIds",id:"treeids",level:3},{value:"Defined in",id:"defined-in-53",level:4},{value:"trees",id:"trees",level:3},{value:"Defined in",id:"defined-in-54",level:4},{value:"viewState",id:"viewstate",level:3},{value:"Inherited from",id:"inherited-from-50",level:4},{value:"Defined in",id:"defined-in-55",level:4}],m={toc:o};function k(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentChangeActions")))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("inlineCode",{parentName:"p"},"Omit"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentConfiguration")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">",", keyof ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeHandlers"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeChangeHandlers")),">"),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeEnvironmentRef"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"abortprogrammaticdrag"},"abortProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"abortProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#abortprogrammaticdrag"},"abortProgrammaticDrag")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L260"},"types.ts:260")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"activetreeid"},"activeTreeId"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"activeTreeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L279"},"types.ts:279")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"autofocus"},"autoFocus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"autoFocus"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,"Omit.autoFocus"),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L174"},"types.ts:174")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candrag"},"canDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDrag"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDrag"),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L168"},"types.ts:168")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candraganddrop"},"canDragAndDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDragAndDrop"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDragAndDrop"),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L164"},"types.ts:164")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropat"},"canDropAt"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropAt"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropAt"),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L169"},"types.ts:169")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropbelowopenfolders"},"canDropBelowOpenFolders"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropBelowOpenFolders"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("p",null,"See Issue #148 or the sample at\n",(0,r.kt)("a",{parentName:"p",href:"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"},"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"),"\nfor details."),(0,r.kt)("p",null,"If enabled, dropping at the bottom of an open folder will drop the items\nin the parent folder below the hovered item instead of inside the folder\nat the top."),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropBelowOpenFolders"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L195"},"types.ts:195")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponfolder"},"canDropOnFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropOnFolder"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L165"},"types.ts:165")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponnonfolder"},"canDropOnNonFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnNonFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropOnNonFolder"),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L166"},"types.ts:166")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canInvokePrimaryActionOnItemContainer"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,"Omit.canInvokePrimaryActionOnItemContainer"),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L170"},"types.ts:170")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canrename"},"canRename"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canRename"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,"Omit.canRename"),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L173"},"types.ts:173")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canreorderitems"},"canReorderItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canReorderItems"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,"Omit.canReorderItems"),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L167"},"types.ts:167")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearch"},"canSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,"Omit.canSearch"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L171"},"types.ts:171")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearchbystartingtyping"},"canSearchByStartingTyping"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearchByStartingTyping"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,"Omit.canSearchByStartingTyping"),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L172"},"types.ts:172")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseall"},"collapseAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseAll"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#collapseall"},"collapseAll")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L265"},"types.ts:265")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseitem"},"collapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#collapseitem"},"collapseItem")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L243"},"types.ts:243")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"completeprogrammaticdrag"},"completeProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"completeProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#completeprogrammaticdrag"},"completeProgrammaticDrag")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L261"},"types.ts:261")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"defaultinteractionmode"},"defaultInteractionMode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"defaultInteractionMode"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/enums/InteractionMode"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionMode"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/InteractionManager"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionManager")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,r.kt)("p",null,"Omit.defaultInteractionMode"),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L163"},"types.ts:163")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disablearrowkeys"},"disableArrowKeys"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"disableArrowKeys"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,r.kt)("p",null,"Omit.disableArrowKeys"),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L197"},"types.ts:197")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"doessearchmatchitem"},"doesSearchMatchItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"doesSearchMatchItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemTitle")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,r.kt)("p",null,"Omit.doesSearchMatchItem"),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L175"},"types.ts:175")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"draganddropcontext"},"dragAndDropContext"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"dragAndDropContext"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DragAndDropContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"DragAndDropContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"),(0,r.kt)("h4",{id:"defined-in-20"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L278"},"types.ts:278")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandall"},"expandAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandAll"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#expandall"},"expandAll")),(0,r.kt)("h4",{id:"defined-in-21"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L264"},"types.ts:264")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expanditem"},"expandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#expanditem"},"expandItem")),(0,r.kt)("h4",{id:"defined-in-22"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L244"},"types.ts:244")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandsubsequently"},"expandSubsequently"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandSubsequently"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#expandsubsequently"},"expandSubsequently")),(0,r.kt)("h4",{id:"defined-in-23"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L266"},"types.ts:266")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focusitem"},"focusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string")),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean")),(0,r.kt)("td",{parentName:"tr",align:"left"},"Defaults to true.")))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#focusitem"},"focusItem")),(0,r.kt)("h4",{id:"defined-in-24"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L251"},"types.ts:251")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focustree"},"focusTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"autoFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#focustree"},"focusTree")),(0,r.kt)("h4",{id:"defined-in-25"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L241"},"types.ts:241")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"getitemtitle"},"getItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"getItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,r.kt)("p",null,"Omit.getItemTitle"),(0,r.kt)("h4",{id:"defined-in-26"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L292"},"types.ts:292")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"invokeprimaryaction"},"invokePrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"invokePrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeID"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeID"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeID")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#invokeprimaryaction"},"invokePrimaryAction")),(0,r.kt)("h4",{id:"defined-in-27"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L248"},"types.ts:248")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"items"},"items"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"items"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,r.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,r.kt)("p",null,"Omit.items"),(0,r.kt)("h4",{id:"defined-in-28"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L211"},"types.ts:211")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"keyboardbindings"},"keyboardBindings"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"keyboardBindings"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/KeyboardBindings"},(0,r.kt)("inlineCode",{parentName:"a"},"KeyboardBindings"))),(0,r.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,r.kt)("p",null,"Omit.keyboardBindings"),(0,r.kt)("h4",{id:"defined-in-29"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L290"},"types.ts:290")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"livedescriptors"},"liveDescriptors"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"liveDescriptors"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/LiveDescriptors"},(0,r.kt)("inlineCode",{parentName:"a"},"LiveDescriptors"))),(0,r.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,r.kt)("p",null,"Omit.liveDescriptors"),(0,r.kt)("h4",{id:"defined-in-30"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L291"},"types.ts:291")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusdown"},"moveFocusDown"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusDown"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-12"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#movefocusdown"},"moveFocusDown")),(0,r.kt)("h4",{id:"defined-in-31"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L258"},"types.ts:258")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusup"},"moveFocusUp"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusUp"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-13"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#movefocusup"},"moveFocusUp")),(0,r.kt)("h4",{id:"defined-in-32"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L257"},"types.ts:257")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"moveprogrammaticdragpositiondown"},"moveProgrammaticDragPositionDown"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveProgrammaticDragPositionDown"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#moveprogrammaticdragpositiondown"},"moveProgrammaticDragPositionDown")),(0,r.kt)("h4",{id:"defined-in-33"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L263"},"types.ts:263")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"moveprogrammaticdragpositionup"},"moveProgrammaticDragPositionUp"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveProgrammaticDragPositionUp"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#moveprogrammaticdragpositionup"},"moveProgrammaticDragPositionUp")),(0,r.kt)("h4",{id:"defined-in-34"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L262"},"types.ts:262")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renameitem"},"renameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-14"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#renameitem"},"renameItem")),(0,r.kt)("h4",{id:"defined-in-35"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L242"},"types.ts:242")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdepthoffset"},"renderDepthOffset"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDepthOffset"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderDepthOffset"),(0,r.kt)("h4",{id:"defined-in-36"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L136"},"types.ts:136")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdragbetweenline"},"renderDragBetweenLine"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDragBetweenLine"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"lineProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-19"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-15"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.draggingPosition")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.lineProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-19"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-35"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderDragBetweenLine"),(0,r.kt)("h4",{id:"defined-in-37"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L122"},"types.ts:122")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitem"},"renderItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"arrow"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-20"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-16"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.arrow")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))))),(0,r.kt)("h5",{id:"returns-20"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-36"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderItem"),(0,r.kt)("h4",{id:"defined-in-38"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L76"},"types.ts:76")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemarrow"},"renderItemArrow"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemArrow"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-21"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-17"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-21"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-37"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderItemArrow"),(0,r.kt)("h4",{id:"defined-in-39"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L93"},"types.ts:93")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemtitle"},"renderItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-22"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-18"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-22"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-38"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderItemTitle"),(0,r.kt)("h4",{id:"defined-in-40"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L86"},"types.ts:86")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemscontainer"},"renderItemsContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemsContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"parentId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-23"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-19"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.parentId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-23"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-39"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderItemsContainer"),(0,r.kt)("h4",{id:"defined-in-41"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L108"},"types.ts:108")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderlivedescriptorcontainer"},"renderLiveDescriptorContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderLiveDescriptorContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-24"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-20"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-24"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-40"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderLiveDescriptorContainer"),(0,r.kt)("h4",{id:"defined-in-42"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L131"},"types.ts:131")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderrenameinput"},"renderRenameInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderRenameInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"formProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLFormElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-25"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-21"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.formProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLFormElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-25"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-41"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderRenameInput"),(0,r.kt)("h4",{id:"defined-in-43"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L99"},"types.ts:99")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendersearchinput"},"renderSearchInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderSearchInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-26"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-22"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")))),(0,r.kt)("h5",{id:"returns-26"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-42"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderSearchInput"),(0,r.kt)("h4",{id:"defined-in-44"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L127"},"types.ts:127")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendertreecontainer"},"renderTreeContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderTreeContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-27"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-23"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))))),(0,r.kt)("h5",{id:"returns-27"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-43"},"Inherited from"),(0,r.kt)("p",null,"Omit.renderTreeContainer"),(0,r.kt)("h4",{id:"defined-in-45"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L116"},"types.ts:116")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"selectitems"},"selectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"selectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-28"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-24"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemsIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-28"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-44"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#selectitems"},"selectItems")),(0,r.kt)("h4",{id:"defined-in-46"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L246"},"types.ts:246")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"shouldrenderchildren"},"shouldRenderChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"shouldRenderChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-29"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-25"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"never"),">")))),(0,r.kt)("h5",{id:"returns-29"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-45"},"Inherited from"),(0,r.kt)("p",null,"Omit.shouldRenderChildren"),(0,r.kt)("h4",{id:"defined-in-47"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L181"},"types.ts:181")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"showlivedescription"},"showLiveDescription"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"showLiveDescription"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-46"},"Inherited from"),(0,r.kt)("p",null,"Omit.showLiveDescription"),(0,r.kt)("h4",{id:"defined-in-48"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L180"},"types.ts:180")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startprogrammaticdrag"},"startProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"startProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-30"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-30"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-47"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#startprogrammaticdrag"},"startProgrammaticDrag")),(0,r.kt)("h4",{id:"defined-in-49"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L259"},"types.ts:259")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemexpandedstate"},"toggleItemExpandedState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemExpandedState"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-31"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-26"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-31"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-48"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#toggleitemexpandedstate"},"toggleItemExpandedState")),(0,r.kt)("h4",{id:"defined-in-50"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L245"},"types.ts:245")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemselectstatus"},"toggleItemSelectStatus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemSelectStatus"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-32"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-27"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-32"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-49"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions#toggleitemselectstatus"},"toggleItemSelectStatus")),(0,r.kt)("h4",{id:"defined-in-51"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L247"},"types.ts:247")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeenvironmentcontext"},"treeEnvironmentContext"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeEnvironmentContext"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"defined-in-52"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L277"},"types.ts:277")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeids"},"treeIds"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeIds"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-53"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L280"},"types.ts:280")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"trees"},"trees"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"trees"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),">"),(0,r.kt)("h4",{id:"defined-in-54"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L281"},"types.ts:281")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"viewstate"},"viewState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"viewState"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeViewState"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeViewState")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"),(0,r.kt)("h4",{id:"inherited-from-50"},"Inherited from"),(0,r.kt)("p",null,"Omit.viewState"),(0,r.kt)("h4",{id:"defined-in-55"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L289"},"types.ts:289")))}k.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>N});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=p(e,["components","mdxType","originalType","parentName"]),s=o(n),N=r,c=s["".concat(d,".").concat(N)]||s[N]||k[N]||i;return n?a.createElement(c,l(l({ref:t},m),{},{components:n})):a.createElement(c,l({ref:t},m))}));function N(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,l=new Array(i);l[0]=s;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var o=2;o{a.r(t),a.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>k,frontMatter:()=>i,metadata:()=>d,toc:()=>o});var n=a(7896),r=(a(2784),a(876));const i={id:"TreeChangeActions",title:"Interface: TreeChangeActions",sidebar_label:"TreeChangeActions",sidebar_position:0,custom_edit_url:null},l=void 0,d={unversionedId:"api/interfaces/TreeChangeActions",id:"api/interfaces/TreeChangeActions",title:"Interface: TreeChangeActions",description:"Hierarchy",source:"@site/docs/api/interfaces/TreeChangeActions.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeChangeActions",permalink:"/docs/api/interfaces/TreeChangeActions",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeChangeActions",title:"Interface: TreeChangeActions",sidebar_label:"TreeChangeActions",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeCapabilities",permalink:"/docs/api/interfaces/TreeCapabilities"},next:{title:"TreeChangeHandlers",permalink:"/docs/api/interfaces/TreeChangeHandlers"}},p={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"abortRenamingItem",id:"abortrenamingitem",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"abortSearch",id:"abortsearch",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"collapseAll",id:"collapseall",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-2",level:4},{value:"collapseItem",id:"collapseitem",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"completeRenamingItem",id:"completerenamingitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-4",level:4},{value:"expandAll",id:"expandall",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Returns",id:"returns-5",level:5},{value:"Defined in",id:"defined-in-5",level:4},{value:"expandItem",id:"expanditem",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Defined in",id:"defined-in-6",level:4},{value:"expandSubsequently",id:"expandsubsequently",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Defined in",id:"defined-in-7",level:4},{value:"focusItem",id:"focusitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Defined in",id:"defined-in-8",level:4},{value:"focusTree",id:"focustree",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Defined in",id:"defined-in-9",level:4},{value:"invokePrimaryAction",id:"invokeprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Defined in",id:"defined-in-10",level:4},{value:"moveFocusDown",id:"movefocusdown",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Returns",id:"returns-11",level:5},{value:"Defined in",id:"defined-in-11",level:4},{value:"moveFocusUp",id:"movefocusup",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Returns",id:"returns-12",level:5},{value:"Defined in",id:"defined-in-12",level:4},{value:"renameItem",id:"renameitem",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-13",level:5},{value:"Defined in",id:"defined-in-13",level:4},{value:"selectItems",id:"selectitems",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Defined in",id:"defined-in-14",level:4},{value:"setSearch",id:"setsearch",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Defined in",id:"defined-in-15",level:4},{value:"startRenamingItem",id:"startrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-16",level:5},{value:"Defined in",id:"defined-in-16",level:4},{value:"stopRenamingItem",id:"stoprenamingitem",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Returns",id:"returns-17",level:5},{value:"Defined in",id:"defined-in-17",level:4},{value:"toggleItemExpandedState",id:"toggleitemexpandedstate",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Defined in",id:"defined-in-18",level:4},{value:"toggleItemSelectStatus",id:"toggleitemselectstatus",level:3},{value:"Type declaration",id:"type-declaration-19",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-19",level:5},{value:"Defined in",id:"defined-in-19",level:4}],m={toc:o};function k(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeChangeActions"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRef"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRef"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"abortrenamingitem"},"abortRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"abortRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L411"},"types.ts:411")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"abortsearch"},"abortSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"abortSearch"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L426"},"types.ts:426")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseall"},"collapseAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseAll"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L428"},"types.ts:428")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseitem"},"collapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L413"},"types.ts:413")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"completerenamingitem"},"completeRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"completeRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L410"},"types.ts:410")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandall"},"expandAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandAll"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L427"},"types.ts:427")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expanditem"},"expandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L414"},"types.ts:414")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandsubsequently"},"expandSubsequently"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandSubsequently"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L429"},"types.ts:429")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focusitem"},"focusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean")),(0,r.kt)("td",{parentName:"tr",align:"left"},"Defaults to true.")))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L420"},"types.ts:420")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focustree"},"focusTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"autoFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L407"},"types.ts:407")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"invokeprimaryaction"},"invokePrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"invokePrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L424"},"types.ts:424")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusdown"},"moveFocusDown"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusDown"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L423"},"types.ts:423")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusup"},"moveFocusUp"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusUp"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L422"},"types.ts:422")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renameitem"},"renameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L412"},"types.ts:412")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"selectitems"},"selectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"selectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemsIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L416"},"types.ts:416")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"setsearch"},"setSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"setSearch"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L425"},"types.ts:425")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startrenamingitem"},"startRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"startRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L408"},"types.ts:408")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"stoprenamingitem"},"stopRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"stopRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L409"},"types.ts:409")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemexpandedstate"},"toggleItemExpandedState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemExpandedState"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L415"},"types.ts:415")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemselectstatus"},"toggleItemSelectStatus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemSelectStatus"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-19"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-19"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L417"},"types.ts:417")))}k.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>m,kt:()=>u});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var p=n.createContext({}),o=function(e){var t=n.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},m=function(e){var t=o(e.components);return n.createElement(p.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,p=e.parentName,m=d(e,["components","mdxType","originalType","parentName"]),s=o(a),u=r,c=s["".concat(p,".").concat(u)]||s[u]||k[u]||i;return a?n.createElement(c,l(l({ref:t},m),{},{components:a})):n.createElement(c,l({ref:t},m))}));function u(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=s;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:r,l[1]=d;for(var o=2;o{a.r(t),a.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>k,frontMatter:()=>i,metadata:()=>d,toc:()=>o});var n=a(7896),r=(a(2784),a(876));const i={id:"TreeChangeActions",title:"Interface: TreeChangeActions",sidebar_label:"TreeChangeActions",sidebar_position:0,custom_edit_url:null},l=void 0,d={unversionedId:"api/interfaces/TreeChangeActions",id:"api/interfaces/TreeChangeActions",title:"Interface: TreeChangeActions",description:"Hierarchy",source:"@site/docs/api/interfaces/TreeChangeActions.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeChangeActions",permalink:"/docs/api/interfaces/TreeChangeActions",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeChangeActions",title:"Interface: TreeChangeActions",sidebar_label:"TreeChangeActions",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeCapabilities",permalink:"/docs/api/interfaces/TreeCapabilities"},next:{title:"TreeChangeHandlers",permalink:"/docs/api/interfaces/TreeChangeHandlers"}},p={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"abortRenamingItem",id:"abortrenamingitem",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"abortSearch",id:"abortsearch",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"collapseAll",id:"collapseall",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-2",level:4},{value:"collapseItem",id:"collapseitem",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"completeRenamingItem",id:"completerenamingitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-4",level:4},{value:"expandAll",id:"expandall",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Returns",id:"returns-5",level:5},{value:"Defined in",id:"defined-in-5",level:4},{value:"expandItem",id:"expanditem",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Defined in",id:"defined-in-6",level:4},{value:"expandSubsequently",id:"expandsubsequently",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Defined in",id:"defined-in-7",level:4},{value:"focusItem",id:"focusitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Defined in",id:"defined-in-8",level:4},{value:"focusTree",id:"focustree",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Defined in",id:"defined-in-9",level:4},{value:"invokePrimaryAction",id:"invokeprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Defined in",id:"defined-in-10",level:4},{value:"moveFocusDown",id:"movefocusdown",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Returns",id:"returns-11",level:5},{value:"Defined in",id:"defined-in-11",level:4},{value:"moveFocusUp",id:"movefocusup",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Returns",id:"returns-12",level:5},{value:"Defined in",id:"defined-in-12",level:4},{value:"renameItem",id:"renameitem",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-13",level:5},{value:"Defined in",id:"defined-in-13",level:4},{value:"selectItems",id:"selectitems",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Defined in",id:"defined-in-14",level:4},{value:"setSearch",id:"setsearch",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Defined in",id:"defined-in-15",level:4},{value:"startRenamingItem",id:"startrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-16",level:5},{value:"Defined in",id:"defined-in-16",level:4},{value:"stopRenamingItem",id:"stoprenamingitem",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Returns",id:"returns-17",level:5},{value:"Defined in",id:"defined-in-17",level:4},{value:"toggleItemExpandedState",id:"toggleitemexpandedstate",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Defined in",id:"defined-in-18",level:4},{value:"toggleItemSelectStatus",id:"toggleitemselectstatus",level:3},{value:"Type declaration",id:"type-declaration-19",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-19",level:5},{value:"Defined in",id:"defined-in-19",level:4}],m={toc:o};function k(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeChangeActions"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRef"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRef"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"abortrenamingitem"},"abortRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"abortRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L411"},"types.ts:411")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"abortsearch"},"abortSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"abortSearch"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L426"},"types.ts:426")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseall"},"collapseAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseAll"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L428"},"types.ts:428")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseitem"},"collapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L413"},"types.ts:413")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"completerenamingitem"},"completeRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"completeRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L410"},"types.ts:410")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandall"},"expandAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandAll"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L427"},"types.ts:427")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expanditem"},"expandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L414"},"types.ts:414")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandsubsequently"},"expandSubsequently"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandSubsequently"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L429"},"types.ts:429")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focusitem"},"focusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean")),(0,r.kt)("td",{parentName:"tr",align:"left"},"Defaults to true.")))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L420"},"types.ts:420")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focustree"},"focusTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"autoFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L407"},"types.ts:407")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"invokeprimaryaction"},"invokePrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"invokePrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L424"},"types.ts:424")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusdown"},"moveFocusDown"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusDown"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L423"},"types.ts:423")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusup"},"moveFocusUp"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusUp"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L422"},"types.ts:422")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renameitem"},"renameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L412"},"types.ts:412")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"selectitems"},"selectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"selectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemsIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L416"},"types.ts:416")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"setsearch"},"setSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"setSearch"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L425"},"types.ts:425")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startrenamingitem"},"startRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"startRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L408"},"types.ts:408")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"stoprenamingitem"},"stopRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"stopRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L409"},"types.ts:409")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemexpandedstate"},"toggleItemExpandedState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemExpandedState"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L415"},"types.ts:415")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemselectstatus"},"toggleItemSelectStatus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemSelectStatus"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-19"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-19"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L417"},"types.ts:417")))}k.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>m,kt:()=>u});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var p=n.createContext({}),o=function(e){var t=n.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},m=function(e){var t=o(e.components);return n.createElement(p.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,p=e.parentName,m=d(e,["components","mdxType","originalType","parentName"]),s=o(a),u=r,c=s["".concat(p,".").concat(u)]||s[u]||k[u]||i;return a?n.createElement(c,l(l({ref:t},m),{},{components:a})):n.createElement(c,l({ref:t},m))}));function u(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=s;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:r,l[1]=d;for(var o=2;o{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>p,default:()=>k,frontMatter:()=>i,metadata:()=>l,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"TreeProps",title:"Interface: TreeProps",sidebar_label:"TreeProps",sidebar_position:0,custom_edit_url:null},p=void 0,l={unversionedId:"api/interfaces/TreeProps",id:"api/interfaces/TreeProps",title:"Interface: TreeProps",description:"Type parameters",source:"@site/docs/api/interfaces/TreeProps.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeProps",permalink:"/docs/api/interfaces/TreeProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeProps",title:"Interface: TreeProps",sidebar_label:"TreeProps",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreePosition",permalink:"/docs/api/interfaces/TreePosition"},next:{title:"TreeRef",permalink:"/docs/api/interfaces/TreeRef"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"renderDepthOffset",id:"renderdepthoffset",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"renderDragBetweenLine",id:"renderdragbetweenline",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"renderItem",id:"renderitem",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"renderItemArrow",id:"renderitemarrow",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"renderItemTitle",id:"renderitemtitle",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"renderItemsContainer",id:"renderitemscontainer",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"renderLiveDescriptorContainer",id:"renderlivedescriptorcontainer",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"renderRenameInput",id:"renderrenameinput",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"renderSearchInput",id:"rendersearchinput",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"renderTreeContainer",id:"rendertreecontainer",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"rootItem",id:"rootitem",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"treeId",id:"treeid",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"treeLabel",id:"treelabel",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"treeLabelledBy",id:"treelabelledby",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-13",level:4}],m={toc:o};function k(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("inlineCode",{parentName:"p"},"Partial"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">",">"),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"renderdepthoffset"},"renderDepthOffset"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDepthOffset"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderDepthOffset"),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L136"},"types.ts:136")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdragbetweenline"},"renderDragBetweenLine"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDragBetweenLine"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"lineProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.draggingPosition")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.lineProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderDragBetweenLine"),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L122"},"types.ts:122")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitem"},"renderItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"arrow"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.arrow")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderItem"),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L76"},"types.ts:76")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemarrow"},"renderItemArrow"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemArrow"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderItemArrow"),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L93"},"types.ts:93")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemtitle"},"renderItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderItemTitle"),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L86"},"types.ts:86")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemscontainer"},"renderItemsContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemsContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"parentId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.parentId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderItemsContainer"),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L108"},"types.ts:108")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderlivedescriptorcontainer"},"renderLiveDescriptorContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderLiveDescriptorContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderLiveDescriptorContainer"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L131"},"types.ts:131")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderrenameinput"},"renderRenameInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderRenameInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"formProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLFormElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.formProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLFormElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderRenameInput"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L99"},"types.ts:99")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendersearchinput"},"renderSearchInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderSearchInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderSearchInput"),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L127"},"types.ts:127")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendertreecontainer"},"renderTreeContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderTreeContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderTreeContainer"),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L116"},"types.ts:116")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rootitem"},"rootItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"rootItem"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#rootitem"},"rootItem")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L387"},"types.ts:387")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeid"},"treeId"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treeid"},"treeId")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L386"},"types.ts:386")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treelabel"},"treeLabel"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"treeLabel"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treelabel"},"treeLabel")),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L388"},"types.ts:388")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treelabelledby"},"treeLabelledBy"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"treeLabelledBy"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treelabelledby"},"treeLabelledBy")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L389"},"types.ts:389")))}k.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>s});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},N=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),N=o(n),s=r,C=N["".concat(d,".").concat(s)]||N[s]||k[s]||i;return n?a.createElement(C,p(p({ref:t},m),{},{components:n})):a.createElement(C,p({ref:t},m))}));function s(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,p=new Array(i);p[0]=N;var l={};for(var d in t)hasOwnProperty.call(t,d)&&(l[d]=t[d]);l.originalType=e,l.mdxType="string"==typeof e?e:r,p[1]=l;for(var o=2;o{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>p,default:()=>k,frontMatter:()=>i,metadata:()=>l,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"TreeProps",title:"Interface: TreeProps",sidebar_label:"TreeProps",sidebar_position:0,custom_edit_url:null},p=void 0,l={unversionedId:"api/interfaces/TreeProps",id:"api/interfaces/TreeProps",title:"Interface: TreeProps",description:"Type parameters",source:"@site/docs/api/interfaces/TreeProps.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeProps",permalink:"/docs/api/interfaces/TreeProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeProps",title:"Interface: TreeProps",sidebar_label:"TreeProps",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreePosition",permalink:"/docs/api/interfaces/TreePosition"},next:{title:"TreeRef",permalink:"/docs/api/interfaces/TreeRef"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"renderDepthOffset",id:"renderdepthoffset",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"renderDragBetweenLine",id:"renderdragbetweenline",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"renderItem",id:"renderitem",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"renderItemArrow",id:"renderitemarrow",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"renderItemTitle",id:"renderitemtitle",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"renderItemsContainer",id:"renderitemscontainer",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"renderLiveDescriptorContainer",id:"renderlivedescriptorcontainer",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"renderRenameInput",id:"renderrenameinput",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"renderSearchInput",id:"rendersearchinput",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"renderTreeContainer",id:"rendertreecontainer",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"rootItem",id:"rootitem",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"treeId",id:"treeid",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"treeLabel",id:"treelabel",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"treeLabelledBy",id:"treelabelledby",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-13",level:4}],m={toc:o};function k(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("inlineCode",{parentName:"p"},"Partial"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">",">"),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"renderdepthoffset"},"renderDepthOffset"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDepthOffset"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderDepthOffset"),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L136"},"types.ts:136")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdragbetweenline"},"renderDragBetweenLine"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDragBetweenLine"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"lineProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.draggingPosition")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.lineProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderDragBetweenLine"),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L122"},"types.ts:122")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitem"},"renderItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"arrow"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.arrow")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderItem"),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L76"},"types.ts:76")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemarrow"},"renderItemArrow"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemArrow"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderItemArrow"),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L93"},"types.ts:93")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemtitle"},"renderItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderItemTitle"),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L86"},"types.ts:86")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemscontainer"},"renderItemsContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemsContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"parentId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.parentId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderItemsContainer"),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L108"},"types.ts:108")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderlivedescriptorcontainer"},"renderLiveDescriptorContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderLiveDescriptorContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderLiveDescriptorContainer"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L131"},"types.ts:131")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderrenameinput"},"renderRenameInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderRenameInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"formProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLFormElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.formProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLFormElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderRenameInput"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L99"},"types.ts:99")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendersearchinput"},"renderSearchInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderSearchInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderSearchInput"),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L127"},"types.ts:127")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendertreecontainer"},"renderTreeContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderTreeContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,"Partial.renderTreeContainer"),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L116"},"types.ts:116")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rootitem"},"rootItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"rootItem"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#rootitem"},"rootItem")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L387"},"types.ts:387")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeid"},"treeId"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treeid"},"treeId")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L386"},"types.ts:386")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treelabel"},"treeLabel"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"treeLabel"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treelabel"},"treeLabel")),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L388"},"types.ts:388")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treelabelledby"},"treeLabelledBy"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"treeLabelledBy"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration#treelabelledby"},"treeLabelledBy")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L389"},"types.ts:389")))}k.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>s});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},N=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),N=o(n),s=r,C=N["".concat(d,".").concat(s)]||N[s]||k[s]||i;return n?a.createElement(C,p(p({ref:t},m),{},{components:n})):a.createElement(C,p({ref:t},m))}));function s(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,p=new Array(i);p[0]=N;var l={};for(var d in t)hasOwnProperty.call(t,d)&&(l[d]=t[d]);l.originalType=e,l.mdxType="string"==typeof e?e:r,p[1]=l;for(var o=2;o{a.r(t),a.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>k,frontMatter:()=>i,metadata:()=>d,toc:()=>o});var n=a(7896),r=(a(2784),a(876));const i={id:"TreeEnvironmentChangeActions",title:"Interface: TreeEnvironmentChangeActions",sidebar_label:"TreeEnvironmentChangeActions",sidebar_position:0,custom_edit_url:null},l=void 0,d={unversionedId:"api/interfaces/TreeEnvironmentChangeActions",id:"api/interfaces/TreeEnvironmentChangeActions",title:"Interface: TreeEnvironmentChangeActions",description:"Hierarchy",source:"@site/docs/api/interfaces/TreeEnvironmentChangeActions.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeEnvironmentChangeActions",permalink:"/docs/api/interfaces/TreeEnvironmentChangeActions",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeEnvironmentChangeActions",title:"Interface: TreeEnvironmentChangeActions",sidebar_label:"TreeEnvironmentChangeActions",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeDataProvider",permalink:"/docs/api/interfaces/TreeDataProvider"},next:{title:"TreeEnvironmentConfiguration",permalink:"/docs/api/interfaces/TreeEnvironmentConfiguration"}},p={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"abortProgrammaticDrag",id:"abortprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"collapseAll",id:"collapseall",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"collapseItem",id:"collapseitem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-2",level:4},{value:"completeProgrammaticDrag",id:"completeprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"expandAll",id:"expandall",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-4",level:4},{value:"expandItem",id:"expanditem",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Defined in",id:"defined-in-5",level:4},{value:"expandSubsequently",id:"expandsubsequently",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Defined in",id:"defined-in-6",level:4},{value:"focusItem",id:"focusitem",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Defined in",id:"defined-in-7",level:4},{value:"focusTree",id:"focustree",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Defined in",id:"defined-in-8",level:4},{value:"invokePrimaryAction",id:"invokeprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Defined in",id:"defined-in-9",level:4},{value:"moveFocusDown",id:"movefocusdown",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Defined in",id:"defined-in-10",level:4},{value:"moveFocusUp",id:"movefocusup",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-11",level:5},{value:"Defined in",id:"defined-in-11",level:4},{value:"moveProgrammaticDragPositionDown",id:"moveprogrammaticdragpositiondown",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Returns",id:"returns-12",level:5},{value:"Defined in",id:"defined-in-12",level:4},{value:"moveProgrammaticDragPositionUp",id:"moveprogrammaticdragpositionup",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Returns",id:"returns-13",level:5},{value:"Defined in",id:"defined-in-13",level:4},{value:"renameItem",id:"renameitem",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Defined in",id:"defined-in-14",level:4},{value:"selectItems",id:"selectitems",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Defined in",id:"defined-in-15",level:4},{value:"startProgrammaticDrag",id:"startprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Returns",id:"returns-16",level:5},{value:"Defined in",id:"defined-in-16",level:4},{value:"toggleItemExpandedState",id:"toggleitemexpandedstate",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-17",level:5},{value:"Defined in",id:"defined-in-17",level:4},{value:"toggleItemSelectStatus",id:"toggleitemselectstatus",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-13",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Defined in",id:"defined-in-18",level:4}],m={toc:o};function k(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeEnvironmentChangeActions"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentRef"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentRef"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"abortprogrammaticdrag"},"abortProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"abortProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L260"},"types.ts:260")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseall"},"collapseAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseAll"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L265"},"types.ts:265")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseitem"},"collapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L243"},"types.ts:243")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"completeprogrammaticdrag"},"completeProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"completeProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L261"},"types.ts:261")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandall"},"expandAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandAll"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L264"},"types.ts:264")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expanditem"},"expandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L244"},"types.ts:244")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandsubsequently"},"expandSubsequently"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandSubsequently"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L266"},"types.ts:266")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focusitem"},"focusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string")),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean")),(0,r.kt)("td",{parentName:"tr",align:"left"},"Defaults to true.")))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L251"},"types.ts:251")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focustree"},"focusTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"autoFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L241"},"types.ts:241")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"invokeprimaryaction"},"invokePrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"invokePrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeID"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeID"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeID")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L248"},"types.ts:248")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusdown"},"moveFocusDown"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusDown"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L258"},"types.ts:258")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusup"},"moveFocusUp"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusUp"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L257"},"types.ts:257")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"moveprogrammaticdragpositiondown"},"moveProgrammaticDragPositionDown"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveProgrammaticDragPositionDown"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L263"},"types.ts:263")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"moveprogrammaticdragpositionup"},"moveProgrammaticDragPositionUp"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveProgrammaticDragPositionUp"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L262"},"types.ts:262")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renameitem"},"renameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L242"},"types.ts:242")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"selectitems"},"selectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"selectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemsIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L246"},"types.ts:246")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startprogrammaticdrag"},"startProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"startProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L259"},"types.ts:259")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemexpandedstate"},"toggleItemExpandedState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemExpandedState"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-12"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L245"},"types.ts:245")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemselectstatus"},"toggleItemSelectStatus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemSelectStatus"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-13"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L247"},"types.ts:247")))}k.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>m,kt:()=>u});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var p=n.createContext({}),o=function(e){var t=n.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},m=function(e){var t=o(e.components);return n.createElement(p.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,p=e.parentName,m=d(e,["components","mdxType","originalType","parentName"]),s=o(a),u=r,N=s["".concat(p,".").concat(u)]||s[u]||k[u]||i;return a?n.createElement(N,l(l({ref:t},m),{},{components:a})):n.createElement(N,l({ref:t},m))}));function u(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=s;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:r,l[1]=d;for(var o=2;o{a.r(t),a.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>k,frontMatter:()=>i,metadata:()=>d,toc:()=>o});var n=a(7896),r=(a(2784),a(876));const i={id:"TreeEnvironmentChangeActions",title:"Interface: TreeEnvironmentChangeActions",sidebar_label:"TreeEnvironmentChangeActions",sidebar_position:0,custom_edit_url:null},l=void 0,d={unversionedId:"api/interfaces/TreeEnvironmentChangeActions",id:"api/interfaces/TreeEnvironmentChangeActions",title:"Interface: TreeEnvironmentChangeActions",description:"Hierarchy",source:"@site/docs/api/interfaces/TreeEnvironmentChangeActions.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeEnvironmentChangeActions",permalink:"/docs/api/interfaces/TreeEnvironmentChangeActions",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeEnvironmentChangeActions",title:"Interface: TreeEnvironmentChangeActions",sidebar_label:"TreeEnvironmentChangeActions",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeDataProvider",permalink:"/docs/api/interfaces/TreeDataProvider"},next:{title:"TreeEnvironmentConfiguration",permalink:"/docs/api/interfaces/TreeEnvironmentConfiguration"}},p={},o=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"abortProgrammaticDrag",id:"abortprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in",level:4},{value:"collapseAll",id:"collapseall",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"collapseItem",id:"collapseitem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-2",level:4},{value:"completeProgrammaticDrag",id:"completeprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"expandAll",id:"expandall",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-4",level:4},{value:"expandItem",id:"expanditem",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Defined in",id:"defined-in-5",level:4},{value:"expandSubsequently",id:"expandsubsequently",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Defined in",id:"defined-in-6",level:4},{value:"focusItem",id:"focusitem",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Defined in",id:"defined-in-7",level:4},{value:"focusTree",id:"focustree",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Defined in",id:"defined-in-8",level:4},{value:"invokePrimaryAction",id:"invokeprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Defined in",id:"defined-in-9",level:4},{value:"moveFocusDown",id:"movefocusdown",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Defined in",id:"defined-in-10",level:4},{value:"moveFocusUp",id:"movefocusup",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-11",level:5},{value:"Defined in",id:"defined-in-11",level:4},{value:"moveProgrammaticDragPositionDown",id:"moveprogrammaticdragpositiondown",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Returns",id:"returns-12",level:5},{value:"Defined in",id:"defined-in-12",level:4},{value:"moveProgrammaticDragPositionUp",id:"moveprogrammaticdragpositionup",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Returns",id:"returns-13",level:5},{value:"Defined in",id:"defined-in-13",level:4},{value:"renameItem",id:"renameitem",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Defined in",id:"defined-in-14",level:4},{value:"selectItems",id:"selectitems",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Defined in",id:"defined-in-15",level:4},{value:"startProgrammaticDrag",id:"startprogrammaticdrag",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Returns",id:"returns-16",level:5},{value:"Defined in",id:"defined-in-16",level:4},{value:"toggleItemExpandedState",id:"toggleitemexpandedstate",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-17",level:5},{value:"Defined in",id:"defined-in-17",level:4},{value:"toggleItemSelectStatus",id:"toggleitemselectstatus",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-13",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Defined in",id:"defined-in-18",level:4}],m={toc:o};function k(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeEnvironmentChangeActions"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentRef"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentRef"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"abortprogrammaticdrag"},"abortProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"abortProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L260"},"types.ts:260")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseall"},"collapseAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseAll"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L265"},"types.ts:265")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseitem"},"collapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L243"},"types.ts:243")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"completeprogrammaticdrag"},"completeProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"completeProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L261"},"types.ts:261")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandall"},"expandAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandAll"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L264"},"types.ts:264")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expanditem"},"expandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L244"},"types.ts:244")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandsubsequently"},"expandSubsequently"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandSubsequently"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L266"},"types.ts:266")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focusitem"},"focusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string")),(0,r.kt)("td",{parentName:"tr",align:"left"},"-")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean")),(0,r.kt)("td",{parentName:"tr",align:"left"},"Defaults to true.")))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L251"},"types.ts:251")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focustree"},"focusTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"autoFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L241"},"types.ts:241")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"invokeprimaryaction"},"invokePrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"invokePrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeID"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeID"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeID")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L248"},"types.ts:248")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusdown"},"moveFocusDown"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusDown"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L258"},"types.ts:258")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocusup"},"moveFocusUp"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveFocusUp"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L257"},"types.ts:257")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"moveprogrammaticdragpositiondown"},"moveProgrammaticDragPositionDown"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveProgrammaticDragPositionDown"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L263"},"types.ts:263")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"moveprogrammaticdragpositionup"},"moveProgrammaticDragPositionUp"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"moveProgrammaticDragPositionUp"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L262"},"types.ts:262")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renameitem"},"renameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L242"},"types.ts:242")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"selectitems"},"selectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"selectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemsIds"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemsIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L246"},"types.ts:246")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startprogrammaticdrag"},"startProgrammaticDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"startProgrammaticDrag"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L259"},"types.ts:259")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemexpandedstate"},"toggleItemExpandedState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemExpandedState"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-12"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L245"},"types.ts:245")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleitemselectstatus"},"toggleItemSelectStatus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleItemSelectStatus"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-13"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L247"},"types.ts:247")))}k.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>m,kt:()=>u});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var p=n.createContext({}),o=function(e){var t=n.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},m=function(e){var t=o(e.components);return n.createElement(p.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,p=e.parentName,m=d(e,["components","mdxType","originalType","parentName"]),s=o(a),u=r,c=s["".concat(p,".").concat(u)]||s[u]||k[u]||i;return a?n.createElement(c,l(l({ref:t},m),{},{components:a})):n.createElement(c,l({ref:t},m))}));function u(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=s;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:r,l[1]=d;for(var o=2;o{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>d,frontMatter:()=>a,metadata:()=>p,toc:()=>c});var n=r(7896),i=(r(2784),r(876));const a={id:"LinearItem",title:"Interface: LinearItem",sidebar_label:"LinearItem",sidebar_position:0,custom_edit_url:null},o=void 0,p={unversionedId:"api/interfaces/LinearItem",id:"api/interfaces/LinearItem",title:"Interface: LinearItem",description:"Properties",source:"@site/docs/api/interfaces/LinearItem.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/LinearItem",permalink:"/docs/api/interfaces/LinearItem",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"LinearItem",title:"Interface: LinearItem",sidebar_label:"LinearItem",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"KeyboardBindings",permalink:"/docs/api/interfaces/KeyboardBindings"},next:{title:"LiveDescriptors",permalink:"/docs/api/interfaces/LiveDescriptors"}},l={},c=[{value:"Properties",id:"properties",level:2},{value:"depth",id:"depth",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"item",id:"item",level:3},{value:"Defined in",id:"defined-in-1",level:4}],s={toc:c};function d(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"depth"},"depth"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"depth"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"defined-in"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L460"},"types.ts:460")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"item"},"item"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"item"),": ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,i.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,i.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L459"},"types.ts:459")))}d.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>m});var n=r(2784);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},s=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,l=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),u=c(r),m=i,f=u["".concat(l,".").concat(m)]||u[m]||d[m]||a;return r?n.createElement(f,o(o({ref:t},s),{},{components:r})):n.createElement(f,o({ref:t},s))}));function m(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=u;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeof e?e:i,o[1]=p;for(var c=2;c{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>d,frontMatter:()=>a,metadata:()=>p,toc:()=>l});var n=r(7896),i=(r(2784),r(876));const a={id:"LinearItem",title:"Interface: LinearItem",sidebar_label:"LinearItem",sidebar_position:0,custom_edit_url:null},o=void 0,p={unversionedId:"api/interfaces/LinearItem",id:"api/interfaces/LinearItem",title:"Interface: LinearItem",description:"Properties",source:"@site/docs/api/interfaces/LinearItem.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/LinearItem",permalink:"/docs/api/interfaces/LinearItem",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"LinearItem",title:"Interface: LinearItem",sidebar_label:"LinearItem",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"KeyboardBindings",permalink:"/docs/api/interfaces/KeyboardBindings"},next:{title:"LiveDescriptors",permalink:"/docs/api/interfaces/LiveDescriptors"}},c={},l=[{value:"Properties",id:"properties",level:2},{value:"depth",id:"depth",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"item",id:"item",level:3},{value:"Defined in",id:"defined-in-1",level:4}],s={toc:l};function d(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"depth"},"depth"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"depth"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"defined-in"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L460"},"types.ts:460")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"item"},"item"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"item"),": ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,i.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,i.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L459"},"types.ts:459")))}d.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>m});var n=r(2784);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},s=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,c=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),u=l(r),m=i,f=u["".concat(c,".").concat(m)]||u[m]||d[m]||a;return r?n.createElement(f,o(o({ref:t},s),{},{components:r})):n.createElement(f,o({ref:t},s))}));function m(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=u;var p={};for(var c in t)hasOwnProperty.call(t,c)&&(p[c]=t[c]);p.originalType=e,p.mdxType="string"==typeof e?e:i,o[1]=p;for(var l=2;l{a.d(t,{i:()=>i});var n=a(7896),r=a(2784),o=a(8873);const i=e=>{let{storyName:t,iframeProps:a}=e;return r.createElement(o.Z,(0,n.Z)({src:`/storybook/iframe.html?id=${t}&args=&viewMode=story`,frameBorder:0,allowtransparency:"true",style:a.width||a.minWidth||a.maxWidth?{}:{width:"1px",minWidth:"100%"}},a??{}))}},9779:(e,t,a)=>{a.r(t),a.d(t,{default:()=>N});var n=a(2784),r=a(6277),o=a(1799),i=a(2896),s=a(5837);const l="heroBanner_qdFl",c="heroBannerText_x20J",m="buttons_AeoN";var d=a(7896);const p="features_xdhU",u=[{title:"Unopinionated",description:n.createElement(n.Fragment,null,"React Complex Tree does not make any assumptions about any aesthetics of your web design or any technologies that you are using. The rendering is entirely up to you, and every node written to DOM can be customized. Sensible defaults styled by easily customizable CSS classes are provided to ease integration.")},{title:"Accessible",description:n.createElement(n.Fragment,null,"The tree structure conforms to"," ",n.createElement("a",{href:"https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2a.html",target:"_blank"},"W3C's specification for accessible trees"),". It supports screen readers and implements all common keyboard interactions so that every interaction, from moving the focus to dragging items, is possible without using the mouse.")},{title:"Powerful Drag and Drop",description:n.createElement(n.Fragment,null,"The tree provides the expected capabilities that power users expect from advanced tooling. Select as many items as you want, and drag them at any location within the same or any other tree! React Complex Tree comes with many customization options for Drag and Drop, such as disallowing reordering or enabling dragging or dropping on certain items only.")},{title:"Full Keyboard Controls",description:n.createElement(n.Fragment,null,"The tree is entirely controllable via keyboard. It implements all controls"," ",n.createElement("a",{href:"https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2a.html",target:"_blank"},"suggested by the W3C to make trees accessible"),", and provides further controls for Drag and Drop, searching or renaming items.")},{title:"Zero Dependencies",description:n.createElement(n.Fragment,null,"We know how annoying it is to add a package and end up with hundreds of peer dependencies. Because React Complex Tree does not make any assumptions on your any dependencies, we also do not need to clutter your project with further packages. When adding React Complex Tree to your package, you add only that and no other dependencies.")},{title:"Multi-Selection",description:n.createElement(n.Fragment,null,"Other than other more simple tree libraries, React Complex Tree allows you to select as many items as you want, and move them all at once by dragging to a different location. Why provide your users with less functionality, when you can settle with powerful tree capabilities with no additional effort? Try it out on the demo above and select multiple items at once by holding control on your keyboard while clicking on items, then dragging all at once to a different location.")},{title:"Renaming built in",description:n.createElement(n.Fragment,null,"React Complex Tree provides renaming as native feature with its capabilities. Select any item and press F2, to start renaming the item. This provides a more intuitive way of renaming items for users without implementing custom dialog solutions that are more disruptive to your users workflow.")},{title:"Search Functionality",description:n.createElement(n.Fragment,null,"Have you ever tried to find that one file in an enormous chaotic file tree that you know is there, but have no idea where? Just start typing while focusing the tree, and the first item matching your search will show up. This also improves accessibility for the tree as keyboard-only users can more easily navigate the tree structure.")},{title:"Multi-Tree Environments",description:n.createElement(n.Fragment,null,"You can use several trees on your web app that share a common state, and are able to interact with one another. The state and tree items are provided to a common react provider component, and as many trees as you want can easily be integrated by just adding tree components below the provider. The trees do not need to provide their own state, they just need an ID and their root item, all other logic is handled by the provider.")},{title:"Controlled and Uncontrolled interfaces",description:n.createElement(n.Fragment,null,"The most easiest way of using React Complex Tree is using an uncontrolled tree environment that maintains the tree state, i.e. which items are selected, expanded, etc. itself. You only need to supply a data provider that defines how items are asynchronously loaded, and the environment does the rest. However, if you want more control, you can instead use the controlled environment for full customizable.")},{title:"Powered by React and TypeScript",description:n.createElement(n.Fragment,null,"React Complex Tree is powered by React (duh) and is easily integrated in existing React projects by just importing and using the provided components. Comprehensive type information is given as TypeScript interfaces, that ease the integration and provide additional type safety, no matter whether you use TypeScript in your project or not.")}];function h(e){let{title:t,description:a}=e;return n.createElement("div",{className:(0,r.Z)("col col--4")},n.createElement("div",{className:"padding-horiz--md padding-vert--md"},n.createElement("h3",null,t),n.createElement("p",null,a)))}function g(){return n.createElement("section",{className:p},n.createElement("div",{className:"container"},n.createElement("div",{className:"row"},u.map(((e,t)=>n.createElement(h,(0,d.Z)({key:t},e)))))))}var y=a(8667);const w="bar_FTxn",b="content_cXBi",v="alsocheckout_VYki",f="title_kyWn",E="close_LQg5",k="hide-campaign-bar";function T(){const[e,t]=(0,n.useState)(!0);return(0,n.useEffect)((()=>{const e=localStorage.getItem(k);t(!!e&&parseInt(e)>Date.now()-2592e5)}),[]),e?null:n.createElement("div",{className:w},n.createElement("a",{href:"https://github.com/sponsors/lukasbach",target:"_blank",className:b},n.createElement("div",{className:v},"Github Sponsors"),n.createElement("div",{className:f},"If react-complex-tree provides meaningful value to you, consider supporting its developement and maintanence by sponsoring on Github")),n.createElement("div",{"aria-label":"Hide banner",className:E,onClick:()=>{t(!0),localStorage.setItem(k,`${Date.now()}`)}},"\xd7"))}var x=a(8428);function C(){const{siteConfig:e}=(0,s.Z)();return n.createElement("header",{className:(0,r.Z)("hero hero--primary",l)},n.createElement("div",{className:"container"},n.createElement("div",{className:"row"},n.createElement("div",{className:(0,r.Z)("col col--5",c)},n.createElement("h1",{className:"hero__title"},e.title),n.createElement("p",{className:"hero__subtitle"},e.tagline),n.createElement("div",{className:m},n.createElement(i.Z,{className:"button button--primary button--lg",to:"/docs/getstarted"},"Get Started"),n.createElement("a",{className:"button button--secondary button--lg",href:"/storybook"},"More Demos"),n.createElement(i.Z,{className:"button button--secondary button--lg",to:"/docs/api"},"API"))),n.createElement("div",{className:"col col--7"},n.createElement(y.i,{storyName:"core-basic-examples--multiple-trees-2",iframeProps:{minHeight:380,width:600}})))))}function N(){const{siteConfig:e}=(0,s.Z)();return n.createElement(o.Z,{title:e.title,description:e.tagline},n.createElement(T,null),n.createElement(C,null),n.createElement("main",null,n.createElement(g,null)),n.createElement(x.Z,null,n.createElement("title",null,"React Complex Tree"),n.createElement("meta",{name:"title",content:"React Complex Tree"}),n.createElement("meta",{name:"keywords",content:"react, search, dnd, keyboard, tree, typescript, javascript, js, component, types, drag-and-drop, rename, hotkeys, accessible, unopinionated, draggable, drag"}),n.createElement("meta",{property:"og:type",content:"website"}),n.createElement("meta",{property:"og:url",content:"https://rct.lukasbach.com"}),n.createElement("meta",{property:"og:title",content:"React Complex Tree"}),n.createElement("meta",{property:"og:description",content:"Unopinionated Accessible Tree Component with Multi-Select and Drag-And-Drop"}),n.createElement("meta",{property:"og:image",content:"https://rct.lukasbach.com/static/img/example/06.png"}),n.createElement("meta",{property:"twitter:card",content:"summary_large_image"}),n.createElement("meta",{property:"twitter:url",content:"https://rct.lukasbach.com"}),n.createElement("meta",{property:"twitter:title",content:"React Complex Tree"}),n.createElement("meta",{property:"twitter:description",content:"Unopinionated Accessible Tree Component with Multi-Select and Drag-And-Drop"}),n.createElement("meta",{property:"twitter:image",content:"https://rct.lukasbach.com/static/img/example/06.png"}),n.createElement("meta",{name:"robots",content:"index, follow, max-snippet:[120], max-image-preview:[large]"})))}}}]); \ No newline at end of file diff --git a/assets/js/c4f5d8e4.ec991eb5.js b/assets/js/c4f5d8e4.ec991eb5.js deleted file mode 100644 index 5b5b368a3..000000000 --- a/assets/js/c4f5d8e4.ec991eb5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4195],{8667:(e,t,n)=>{n.d(t,{i:()=>i});var a=n(7896),r=n(2784),o=n(8873);const i=e=>{let{storyName:t,iframeProps:n}=e;return r.createElement(o.Z,(0,a.Z)({src:`/storybook/iframe.html?id=${t}&args=&viewMode=story`,frameBorder:0,allowtransparency:"true",style:n.width||n.minWidth||n.maxWidth?{}:{width:"1px",minWidth:"100%"}},n??{}))}},9779:(e,t,n)=>{n.r(t),n.d(t,{default:()=>S});var a=n(2784),r=n(6277),o=n(1799),i=n(2896),l=n(5837);const c="heroBanner_qdFl",s="heroBannerText_x20J",u="buttons_AeoN";var m=n(7896);const d="features_xdhU",p=[{title:"Unopinionated",description:a.createElement(a.Fragment,null,"React Complex Tree does not make any assumptions about any aesthetics of your web design or any technologies that you are using. The rendering is entirely up to you, and every node written to DOM can be customized. Sensible defaults styled by easily customizable CSS classes are provided to ease integration.")},{title:"Accessible",description:a.createElement(a.Fragment,null,"The tree structure conforms to"," ",a.createElement("a",{href:"https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2a.html",target:"_blank"},"W3C's specification for accessible trees"),". It supports screen readers and implements all common keyboard interactions so that every interaction, from moving the focus to dragging items, is possible without using the mouse.")},{title:"Powerful Drag and Drop",description:a.createElement(a.Fragment,null,"The tree provides the expected capabilities that power users expect from advanced tooling. Select as many items as you want, and drag them at any location within the same or any other tree! React Complex Tree comes with many customization options for Drag and Drop, such as disallowing reordering or enabling dragging or dropping on certain items only.")},{title:"Full Keyboard Controls",description:a.createElement(a.Fragment,null,"The tree is entirely controllable via keyboard. It implements all controls"," ",a.createElement("a",{href:"https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2a.html",target:"_blank"},"suggested by the W3C to make trees accessible"),", and provides further controls for Drag and Drop, searching or renaming items.")},{title:"Zero Dependencies",description:a.createElement(a.Fragment,null,"We know how annoying it is to add a package and end up with hundreds of peer dependencies. Because React Complex Tree does not make any assumptions on your any dependencies, we also do not need to clutter your project with further packages. When adding React Complex Tree to your package, you add only that and no other dependencies.")},{title:"Multi-Selection",description:a.createElement(a.Fragment,null,"Other than other more simple tree libraries, React Complex Tree allows you to select as many items as you want, and move them all at once by dragging to a different location. Why provide your users with less functionality, when you can settle with powerful tree capabilities with no additional effort? Try it out on the demo above and select multiple items at once by holding control on your keyboard while clicking on items, then dragging all at once to a different location.")},{title:"Renaming built in",description:a.createElement(a.Fragment,null,"React Complex Tree provides renaming as native feature with its capabilities. Select any item and press F2, to start renaming the item. This provides a more intuitive way of renaming items for users without implementing custom dialog solutions that are more disruptive to your users workflow.")},{title:"Search Functionality",description:a.createElement(a.Fragment,null,"Have you ever tried to find that one file in an enormous chaotic file tree that you know is there, but have no idea where? Just start typing while focusing the tree, and the first item matching your search will show up. This also improves accessibility for the tree as keyboard-only users can more easily navigate the tree structure.")},{title:"Multi-Tree Environments",description:a.createElement(a.Fragment,null,"You can use several trees on your web app that share a common state, and are able to interact with one another. The state and tree items are provided to a common react provider component, and as many trees as you want can easily be integrated by just adding tree components below the provider. The trees do not need to provide their own state, they just need an ID and their root item, all other logic is handled by the provider.")},{title:"Controlled and Uncontrolled interfaces",description:a.createElement(a.Fragment,null,"The most easiest way of using React Complex Tree is using an uncontrolled tree environment that maintains the tree state, i.e. which items are selected, expanded, etc. itself. You only need to supply a data provider that defines how items are asynchronously loaded, and the environment does the rest. However, if you want more control, you can instead use the controlled environment for full customizable.")},{title:"Powered by React and TypeScript",description:a.createElement(a.Fragment,null,"React Complex Tree is powered by React (duh) and is easily integrated in existing React projects by just importing and using the provided components. Comprehensive type information is given as TypeScript interfaces, that ease the integration and provide additional type safety, no matter whether you use TypeScript in your project or not.")}];function h(e){let{title:t,description:n}=e;return a.createElement("div",{className:(0,r.Z)("col col--4")},a.createElement("div",{className:"padding-horiz--md padding-vert--md"},a.createElement("h3",null,t),a.createElement("p",null,n)))}function g(){return a.createElement("section",{className:d},a.createElement("div",{className:"container"},a.createElement("div",{className:"row"},p.map(((e,t)=>a.createElement(h,(0,m.Z)({key:t},e)))))))}var f=n(8667);const y="bar_FTxn",v="content_cXBi",b="alsocheckout_VYki",w="title_kyWn",E="description_NJhX",k="close_LQg5";var x=n(2288);const C="hide-campaign-bar";function _(){const[e,t]=(0,a.useState)(!0);return(0,a.useEffect)((()=>{const e=localStorage.getItem(C);t(!!e&&parseInt(e)>Date.now()-2592e5)}),[]),e?null:a.createElement(x.Campaign,{dontRenderIfLoading:!0,ignore:["react-complex-tree"],changeInterval:30,weighted:!0,render:e=>e&&a.createElement("div",{className:y},a.createElement("a",{href:e.url,target:"_blank",className:v,title:e.long??e.short},a.createElement("div",{className:b},"Also checkout:"),a.createElement("div",{className:w},e.product),a.createElement("div",{className:E},e.short)),a.createElement("div",{"aria-label":"Hide banner",className:k,onClick:()=>{t(!0),localStorage.setItem(C,`${Date.now()}`)}},"\xd7"))})}var T=n(8428);function N(){const{siteConfig:e}=(0,l.Z)();return a.createElement("header",{className:(0,r.Z)("hero hero--primary",c)},a.createElement("div",{className:"container"},a.createElement("div",{className:"row"},a.createElement("div",{className:(0,r.Z)("col col--5",s)},a.createElement("h1",{className:"hero__title"},e.title),a.createElement("p",{className:"hero__subtitle"},e.tagline),a.createElement("div",{className:u},a.createElement(i.Z,{className:"button button--primary button--lg",to:"/docs/getstarted"},"Get Started"),a.createElement("a",{className:"button button--secondary button--lg",href:"/storybook"},"More Demos"),a.createElement(i.Z,{className:"button button--secondary button--lg",to:"/docs/api"},"API"))),a.createElement("div",{className:"col col--7"},a.createElement(f.i,{storyName:"core-basic-examples--multiple-trees-2",iframeProps:{minHeight:380,width:600}})))))}function S(){const{siteConfig:e}=(0,l.Z)();return a.createElement(o.Z,{title:e.title,description:e.tagline},a.createElement(_,null),a.createElement(N,null),a.createElement("main",null,a.createElement(g,null)),a.createElement(T.Z,null,a.createElement("title",null,"React Complex Tree"),a.createElement("meta",{name:"title",content:"React Complex Tree"}),a.createElement("meta",{name:"keywords",content:"react, search, dnd, keyboard, tree, typescript, javascript, js, component, types, drag-and-drop, rename, hotkeys, accessible, unopinionated, draggable, drag"}),a.createElement("meta",{property:"og:type",content:"website"}),a.createElement("meta",{property:"og:url",content:"https://rct.lukasbach.com"}),a.createElement("meta",{property:"og:title",content:"React Complex Tree"}),a.createElement("meta",{property:"og:description",content:"Unopinionated Accessible Tree Component with Multi-Select and Drag-And-Drop"}),a.createElement("meta",{property:"og:image",content:"https://rct.lukasbach.com/static/img/example/06.png"}),a.createElement("meta",{property:"twitter:card",content:"summary_large_image"}),a.createElement("meta",{property:"twitter:url",content:"https://rct.lukasbach.com"}),a.createElement("meta",{property:"twitter:title",content:"React Complex Tree"}),a.createElement("meta",{property:"twitter:description",content:"Unopinionated Accessible Tree Component with Multi-Select and Drag-And-Drop"}),a.createElement("meta",{property:"twitter:image",content:"https://rct.lukasbach.com/static/img/example/06.png"}),a.createElement("meta",{name:"robots",content:"index, follow, max-snippet:[120], max-image-preview:[large]"})))}},1211:function(e,t){var n=this&&this.__awaiter||function(e,t,n,a){return new(n||(n=Promise))((function(r,o){function i(e){try{c(a.next(e))}catch(t){o(t)}}function l(e){try{c(a.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}c((a=a.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,a,r,o,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,a&&(r=2&o[0]?a.return:o[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;switch(a=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,a=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(r=i.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0&&r[r.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>p,default:()=>k,frontMatter:()=>i,metadata:()=>l,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"TreeRenderProps",title:"Interface: TreeRenderProps",sidebar_label:"TreeRenderProps",sidebar_position:0,custom_edit_url:null},p=void 0,l={unversionedId:"api/interfaces/TreeRenderProps",id:"api/interfaces/TreeRenderProps",title:"Interface: TreeRenderProps",description:"Type parameters",source:"@site/docs/api/interfaces/TreeRenderProps.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeRenderProps",permalink:"/docs/api/interfaces/TreeRenderProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeRenderProps",title:"Interface: TreeRenderProps",sidebar_label:"TreeRenderProps",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeRef",permalink:"/docs/api/interfaces/TreeRef"},next:{title:"TreeViewState",permalink:"/docs/api/interfaces/TreeViewState"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"renderDepthOffset",id:"renderdepthoffset",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"renderDragBetweenLine",id:"renderdragbetweenline",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"renderItem",id:"renderitem",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-2",level:4},{value:"renderItemArrow",id:"renderitemarrow",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"renderItemTitle",id:"renderitemtitle",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-4",level:4},{value:"renderItemsContainer",id:"renderitemscontainer",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-5",level:4},{value:"renderLiveDescriptorContainer",id:"renderlivedescriptorcontainer",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Defined in",id:"defined-in-6",level:4},{value:"renderRenameInput",id:"renderrenameinput",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Defined in",id:"defined-in-7",level:4},{value:"renderSearchInput",id:"rendersearchinput",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Defined in",id:"defined-in-8",level:4},{value:"renderTreeContainer",id:"rendertreecontainer",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Defined in",id:"defined-in-9",level:4}],m={toc:o};function k(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeRenderProps"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentConfiguration"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps"},(0,r.kt)("inlineCode",{parentName:"a"},"UncontrolledTreeEnvironmentProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"renderdepthoffset"},"renderDepthOffset"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDepthOffset"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L136"},"types.ts:136")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdragbetweenline"},"renderDragBetweenLine"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDragBetweenLine"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"lineProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.draggingPosition")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.lineProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L122"},"types.ts:122")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitem"},"renderItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"arrow"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.arrow")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L76"},"types.ts:76")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemarrow"},"renderItemArrow"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemArrow"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L93"},"types.ts:93")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemtitle"},"renderItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L86"},"types.ts:86")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemscontainer"},"renderItemsContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemsContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"parentId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.parentId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L108"},"types.ts:108")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderlivedescriptorcontainer"},"renderLiveDescriptorContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderLiveDescriptorContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L131"},"types.ts:131")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderrenameinput"},"renderRenameInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderRenameInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"formProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLFormElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.formProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLFormElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L99"},"types.ts:99")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendersearchinput"},"renderSearchInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderSearchInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L127"},"types.ts:127")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendertreecontainer"},"renderTreeContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderTreeContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L116"},"types.ts:116")))}k.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>s});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},N=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),N=o(n),s=r,C=N["".concat(d,".").concat(s)]||N[s]||k[s]||i;return n?a.createElement(C,p(p({ref:t},m),{},{components:n})):a.createElement(C,p({ref:t},m))}));function s(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,p=new Array(i);p[0]=N;var l={};for(var d in t)hasOwnProperty.call(t,d)&&(l[d]=t[d]);l.originalType=e,l.mdxType="string"==typeof e?e:r,p[1]=l;for(var o=2;o{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>p,default:()=>k,frontMatter:()=>i,metadata:()=>l,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"TreeRenderProps",title:"Interface: TreeRenderProps",sidebar_label:"TreeRenderProps",sidebar_position:0,custom_edit_url:null},p=void 0,l={unversionedId:"api/interfaces/TreeRenderProps",id:"api/interfaces/TreeRenderProps",title:"Interface: TreeRenderProps",description:"Type parameters",source:"@site/docs/api/interfaces/TreeRenderProps.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeRenderProps",permalink:"/docs/api/interfaces/TreeRenderProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeRenderProps",title:"Interface: TreeRenderProps",sidebar_label:"TreeRenderProps",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeRef",permalink:"/docs/api/interfaces/TreeRef"},next:{title:"TreeViewState",permalink:"/docs/api/interfaces/TreeViewState"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"renderDepthOffset",id:"renderdepthoffset",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"renderDragBetweenLine",id:"renderdragbetweenline",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"renderItem",id:"renderitem",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-2",level:4},{value:"renderItemArrow",id:"renderitemarrow",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"renderItemTitle",id:"renderitemtitle",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-4",level:4},{value:"renderItemsContainer",id:"renderitemscontainer",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Defined in",id:"defined-in-5",level:4},{value:"renderLiveDescriptorContainer",id:"renderlivedescriptorcontainer",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Defined in",id:"defined-in-6",level:4},{value:"renderRenameInput",id:"renderrenameinput",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Defined in",id:"defined-in-7",level:4},{value:"renderSearchInput",id:"rendersearchinput",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Defined in",id:"defined-in-8",level:4},{value:"renderTreeContainer",id:"rendertreecontainer",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Defined in",id:"defined-in-9",level:4}],m={toc:o};function k(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeRenderProps"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentConfiguration"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps"},(0,r.kt)("inlineCode",{parentName:"a"},"UncontrolledTreeEnvironmentProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"renderdepthoffset"},"renderDepthOffset"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDepthOffset"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L136"},"types.ts:136")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdragbetweenline"},"renderDragBetweenLine"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderDragBetweenLine"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"lineProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.draggingPosition")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.lineProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L122"},"types.ts:122")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitem"},"renderItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"arrow"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.arrow")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L76"},"types.ts:76")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemarrow"},"renderItemArrow"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemArrow"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L93"},"types.ts:93")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemtitle"},"renderItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L86"},"types.ts:86")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemscontainer"},"renderItemsContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderItemsContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"parentId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.parentId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L108"},"types.ts:108")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderlivedescriptorcontainer"},"renderLiveDescriptorContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderLiveDescriptorContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L131"},"types.ts:131")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderrenameinput"},"renderRenameInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderRenameInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"formProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLFormElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.formProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLFormElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L99"},"types.ts:99")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendersearchinput"},"renderSearchInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderSearchInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L127"},"types.ts:127")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendertreecontainer"},"renderTreeContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renderTreeContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L116"},"types.ts:116")))}k.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>s});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},N=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),N=o(n),s=r,C=N["".concat(d,".").concat(s)]||N[s]||k[s]||i;return n?a.createElement(C,p(p({ref:t},m),{},{components:n})):a.createElement(C,p({ref:t},m))}));function s(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,p=new Array(i);p[0]=N;var l={};for(var d in t)hasOwnProperty.call(t,d)&&(l[d]=t[d]);l.originalType=e,l.mdxType="string"==typeof e?e:r,p[1]=l;for(var o=2;o{a.r(t),a.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>k,frontMatter:()=>i,metadata:()=>d,toc:()=>o});var n=a(7896),r=(a(2784),a(876));const i={id:"StaticTreeDataProvider",title:"Class: StaticTreeDataProvider",sidebar_label:"StaticTreeDataProvider",sidebar_position:0,custom_edit_url:null},l=void 0,d={unversionedId:"api/classes/StaticTreeDataProvider",id:"api/classes/StaticTreeDataProvider",title:"Class: StaticTreeDataProvider",description:"Type parameters",source:"@site/docs/api/classes/StaticTreeDataProvider.md",sourceDirName:"api/classes",slug:"/api/classes/StaticTreeDataProvider",permalink:"/docs/api/classes/StaticTreeDataProvider",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"StaticTreeDataProvider",title:"Class: StaticTreeDataProvider",sidebar_label:"StaticTreeDataProvider",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"InteractionMode",permalink:"/docs/api/enums/InteractionMode"},next:{title:"AbstractDraggingPosition",permalink:"/docs/api/interfaces/AbstractDraggingPosition"}},p={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Properties",id:"properties",level:2},{value:"data",id:"data",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"onDidChangeTreeDataEmitter",id:"ondidchangetreedataemitter",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"setItemName",id:"setitemname",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"Methods",id:"methods",level:2},{value:"getTreeItem",id:"gettreeitem",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Implementation of",id:"implementation-of",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"onChangeItemChildren",id:"onchangeitemchildren",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Implementation of",id:"implementation-of-1",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"onDidChangeTreeData",id:"ondidchangetreedata",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Implementation of",id:"implementation-of-2",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"onRenameItem",id:"onrenameitem",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Implementation of",id:"implementation-of-3",level:4},{value:"Defined in",id:"defined-in-7",level:4}],m={toc:o};function k(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h2",{id:"implements"},"Implements"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeDataProvider"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeDataProvider")))),(0,r.kt)("h2",{id:"constructors"},"Constructors"),(0,r.kt)("h3",{id:"constructor"},"constructor"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"new StaticTreeDataProvider"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","(",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setItemName?"),")"),(0,r.kt)("h4",{id:"type-parameters-1"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h4",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Record"),"<",(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">",">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setItemName?")),(0,r.kt)("td",{parentName:"tr",align:"left"},"(",(0,r.kt)("inlineCode",{parentName:"td"},"item"),": ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"td"},"newName"),": ",(0,r.kt)("inlineCode",{parentName:"td"},"string"),") => ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L20"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:20")),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"data"},"data"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Private")," ",(0,r.kt)("strong",{parentName:"p"},"data"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ExplicitDataSource"},(0,r.kt)("inlineCode",{parentName:"a"},"ExplicitDataSource")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L11"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:11")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondidchangetreedataemitter"},"onDidChangeTreeDataEmitter"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Readonly")," ",(0,r.kt)("strong",{parentName:"p"},"onDidChangeTreeDataEmitter"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"EventEmitter"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]",">"),(0,r.kt)("p",null,"Emit an event with the changed item ids to notify the tree view about changes."),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L14"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:14")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"setitemname"},"setItemName"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Private")," ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"setItemName"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"newName"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"newName"),"): ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"newName")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L18"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:18")),(0,r.kt)("h2",{id:"methods"},"Methods"),(0,r.kt)("h3",{id:"gettreeitem"},"getTreeItem"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"getTreeItem"),"(",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h4",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"implementation-of"},"Implementation of"),(0,r.kt)("p",null,"TreeDataProvider.getTreeItem"),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L29"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:29")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onchangeitemchildren"},"onChangeItemChildren"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"onChangeItemChildren"),"(",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"newChildren"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"newChildren")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h4",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"implementation-of-1"},"Implementation of"),(0,r.kt)("p",null,"TreeDataProvider.onChangeItemChildren"),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L33"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:33")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondidchangetreedata"},"onDidChangeTreeData"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"onDidChangeTreeData"),"(",(0,r.kt)("inlineCode",{parentName:"p"},"listener"),"): ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#disposable"},(0,r.kt)("inlineCode",{parentName:"a"},"Disposable"))),(0,r.kt)("h4",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"listener")),(0,r.kt)("td",{parentName:"tr",align:"left"},"(",(0,r.kt)("inlineCode",{parentName:"td"},"changedItemIds"),": ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"td"},"void"))))),(0,r.kt)("h4",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#disposable"},(0,r.kt)("inlineCode",{parentName:"a"},"Disposable"))),(0,r.kt)("h4",{id:"implementation-of-2"},"Implementation of"),(0,r.kt)("p",null,"TreeDataProvider.onDidChangeTreeData"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L41"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:41")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onrenameitem"},"onRenameItem"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"onRenameItem"),"(",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h4",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"implementation-of-3"},"Implementation of"),(0,r.kt)("p",null,"TreeDataProvider.onRenameItem"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L50"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:50")))}k.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>m,kt:()=>c});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var p=n.createContext({}),o=function(e){var t=n.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},m=function(e){var t=o(e.components);return n.createElement(p.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,p=e.parentName,m=d(e,["components","mdxType","originalType","parentName"]),s=o(a),c=r,N=s["".concat(p,".").concat(c)]||s[c]||k[c]||i;return a?n.createElement(N,l(l({ref:t},m),{},{components:a})):n.createElement(N,l({ref:t},m))}));function c(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=s;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:r,l[1]=d;for(var o=2;o{a.r(t),a.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>k,frontMatter:()=>i,metadata:()=>d,toc:()=>o});var n=a(7896),r=(a(2784),a(876));const i={id:"StaticTreeDataProvider",title:"Class: StaticTreeDataProvider",sidebar_label:"StaticTreeDataProvider",sidebar_position:0,custom_edit_url:null},l=void 0,d={unversionedId:"api/classes/StaticTreeDataProvider",id:"api/classes/StaticTreeDataProvider",title:"Class: StaticTreeDataProvider",description:"Type parameters",source:"@site/docs/api/classes/StaticTreeDataProvider.md",sourceDirName:"api/classes",slug:"/api/classes/StaticTreeDataProvider",permalink:"/docs/api/classes/StaticTreeDataProvider",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"StaticTreeDataProvider",title:"Class: StaticTreeDataProvider",sidebar_label:"StaticTreeDataProvider",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"InteractionMode",permalink:"/docs/api/enums/InteractionMode"},next:{title:"AbstractDraggingPosition",permalink:"/docs/api/interfaces/AbstractDraggingPosition"}},p={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Implements",id:"implements",level:2},{value:"Constructors",id:"constructors",level:2},{value:"constructor",id:"constructor",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Properties",id:"properties",level:2},{value:"data",id:"data",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"onDidChangeTreeDataEmitter",id:"ondidchangetreedataemitter",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"setItemName",id:"setitemname",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"Methods",id:"methods",level:2},{value:"getTreeItem",id:"gettreeitem",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Implementation of",id:"implementation-of",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"onChangeItemChildren",id:"onchangeitemchildren",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Implementation of",id:"implementation-of-1",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"onDidChangeTreeData",id:"ondidchangetreedata",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Implementation of",id:"implementation-of-2",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"onRenameItem",id:"onrenameitem",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Implementation of",id:"implementation-of-3",level:4},{value:"Defined in",id:"defined-in-7",level:4}],m={toc:o};function k(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h2",{id:"implements"},"Implements"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeDataProvider"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeDataProvider")))),(0,r.kt)("h2",{id:"constructors"},"Constructors"),(0,r.kt)("h3",{id:"constructor"},"constructor"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"new StaticTreeDataProvider"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","(",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setItemName?"),")"),(0,r.kt)("h4",{id:"type-parameters-1"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h4",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Record"),"<",(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">",">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setItemName?")),(0,r.kt)("td",{parentName:"tr",align:"left"},"(",(0,r.kt)("inlineCode",{parentName:"td"},"item"),": ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"td"},"newName"),": ",(0,r.kt)("inlineCode",{parentName:"td"},"string"),") => ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L20"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:20")),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"data"},"data"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Private")," ",(0,r.kt)("strong",{parentName:"p"},"data"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ExplicitDataSource"},(0,r.kt)("inlineCode",{parentName:"a"},"ExplicitDataSource")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L11"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:11")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondidchangetreedataemitter"},"onDidChangeTreeDataEmitter"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Readonly")," ",(0,r.kt)("strong",{parentName:"p"},"onDidChangeTreeDataEmitter"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"EventEmitter"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]",">"),(0,r.kt)("p",null,"Emit an event with the changed item ids to notify the tree view about changes."),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L14"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:14")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"setitemname"},"setItemName"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Private")," ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"setItemName"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"newName"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"newName"),"): ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"newName")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L18"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:18")),(0,r.kt)("h2",{id:"methods"},"Methods"),(0,r.kt)("h3",{id:"gettreeitem"},"getTreeItem"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"getTreeItem"),"(",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h4",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"implementation-of"},"Implementation of"),(0,r.kt)("p",null,"TreeDataProvider.getTreeItem"),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L29"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:29")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onchangeitemchildren"},"onChangeItemChildren"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"onChangeItemChildren"),"(",(0,r.kt)("inlineCode",{parentName:"p"},"itemId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"newChildren"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"newChildren")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h4",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"implementation-of-1"},"Implementation of"),(0,r.kt)("p",null,"TreeDataProvider.onChangeItemChildren"),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L33"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:33")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondidchangetreedata"},"onDidChangeTreeData"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"onDidChangeTreeData"),"(",(0,r.kt)("inlineCode",{parentName:"p"},"listener"),"): ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#disposable"},(0,r.kt)("inlineCode",{parentName:"a"},"Disposable"))),(0,r.kt)("h4",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"listener")),(0,r.kt)("td",{parentName:"tr",align:"left"},"(",(0,r.kt)("inlineCode",{parentName:"td"},"changedItemIds"),": ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"td"},"void"))))),(0,r.kt)("h4",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#disposable"},(0,r.kt)("inlineCode",{parentName:"a"},"Disposable"))),(0,r.kt)("h4",{id:"implementation-of-2"},"Implementation of"),(0,r.kt)("p",null,"TreeDataProvider.onDidChangeTreeData"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L41"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:41")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onrenameitem"},"onRenameItem"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"onRenameItem"),"(",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h4",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Promise"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"void"),">"),(0,r.kt)("h4",{id:"implementation-of-3"},"Implementation of"),(0,r.kt)("p",null,"TreeDataProvider.onRenameItem"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/uncontrolledEnvironment/StaticTreeDataProvider.ts#L50"},"uncontrolledEnvironment/StaticTreeDataProvider.ts:50")))}k.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>m,kt:()=>c});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var p=n.createContext({}),o=function(e){var t=n.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},m=function(e){var t=o(e.components);return n.createElement(p.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,p=e.parentName,m=d(e,["components","mdxType","originalType","parentName"]),s=o(a),c=r,N=s["".concat(p,".").concat(c)]||s[c]||k[c]||i;return a?n.createElement(N,l(l({ref:t},m),{},{components:a})):n.createElement(N,l({ref:t},m))}));function c(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=s;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:r,l[1]=d;for(var o=2;o{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>p,toc:()=>c});var a=r(7896),n=(r(2784),r(876));const i={id:"ImplicitDataSource",title:"Interface: ImplicitDataSource",sidebar_label:"ImplicitDataSource",sidebar_position:0,custom_edit_url:null},o=void 0,p={unversionedId:"api/interfaces/ImplicitDataSource",id:"api/interfaces/ImplicitDataSource",title:"Interface: ImplicitDataSource",description:"Type parameters",source:"@site/docs/api/interfaces/ImplicitDataSource.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/ImplicitDataSource",permalink:"/docs/api/interfaces/ImplicitDataSource",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ImplicitDataSource",title:"Interface: ImplicitDataSource",sidebar_label:"ImplicitDataSource",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"ExplicitDataSource",permalink:"/docs/api/interfaces/ExplicitDataSource"},next:{title:"InteractionManager",permalink:"/docs/api/interfaces/InteractionManager"}},l={},c=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"dataProvider",id:"dataprovider",level:3},{value:"Defined in",id:"defined-in",level:4}],s={toc:c};function d(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,a.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"T")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"any"))))),(0,n.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("inlineCode",{parentName:"strong"},"ImplicitDataSource"))),(0,n.kt)("p",{parentName:"li"},"\u21b3 ",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps"},(0,n.kt)("inlineCode",{parentName:"a"},"UncontrolledTreeEnvironmentProps"))))),(0,n.kt)("h2",{id:"properties"},"Properties"),(0,n.kt)("h3",{id:"dataprovider"},"dataProvider"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"dataProvider"),": ",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeDataProvider"},(0,n.kt)("inlineCode",{parentName:"a"},"TreeDataProvider")),"<",(0,n.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,n.kt)("h4",{id:"defined-in"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L215"},"types.ts:215")))}d.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>m});var a=r(2784);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=a.createContext({}),c=function(e){var t=a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},s=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,i=e.originalType,l=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),u=c(r),m=n,f=u["".concat(l,".").concat(m)]||u[m]||d[m]||i;return r?a.createElement(f,o(o({ref:t},s),{},{components:r})):a.createElement(f,o({ref:t},s))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var i=r.length,o=new Array(i);o[0]=u;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeof e?e:n,o[1]=p;for(var c=2;c{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>p,toc:()=>c});var a=r(7896),n=(r(2784),r(876));const i={id:"ImplicitDataSource",title:"Interface: ImplicitDataSource",sidebar_label:"ImplicitDataSource",sidebar_position:0,custom_edit_url:null},o=void 0,p={unversionedId:"api/interfaces/ImplicitDataSource",id:"api/interfaces/ImplicitDataSource",title:"Interface: ImplicitDataSource",description:"Type parameters",source:"@site/docs/api/interfaces/ImplicitDataSource.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/ImplicitDataSource",permalink:"/docs/api/interfaces/ImplicitDataSource",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ImplicitDataSource",title:"Interface: ImplicitDataSource",sidebar_label:"ImplicitDataSource",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"ExplicitDataSource",permalink:"/docs/api/interfaces/ExplicitDataSource"},next:{title:"InteractionManager",permalink:"/docs/api/interfaces/InteractionManager"}},l={},c=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"dataProvider",id:"dataprovider",level:3},{value:"Defined in",id:"defined-in",level:4}],s={toc:c};function d(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,a.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"T")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"any"))))),(0,n.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("inlineCode",{parentName:"strong"},"ImplicitDataSource"))),(0,n.kt)("p",{parentName:"li"},"\u21b3 ",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps"},(0,n.kt)("inlineCode",{parentName:"a"},"UncontrolledTreeEnvironmentProps"))))),(0,n.kt)("h2",{id:"properties"},"Properties"),(0,n.kt)("h3",{id:"dataprovider"},"dataProvider"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"dataProvider"),": ",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeDataProvider"},(0,n.kt)("inlineCode",{parentName:"a"},"TreeDataProvider")),"<",(0,n.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,n.kt)("h4",{id:"defined-in"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L215"},"types.ts:215")))}d.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>m});var a=r(2784);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=a.createContext({}),c=function(e){var t=a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},s=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,i=e.originalType,l=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),u=c(r),m=n,f=u["".concat(l,".").concat(m)]||u[m]||d[m]||i;return r?a.createElement(f,o(o({ref:t},s),{},{components:r})):a.createElement(f,o({ref:t},s))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var i=r.length,o=new Array(i);o[0]=u;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeof e?e:n,o[1]=p;for(var c=2;c{a.r(t),a.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>m,frontMatter:()=>i,metadata:()=>p,toc:()=>d});var n=a(7896),r=(a(2784),a(876));const i={id:"TreeCapabilities",title:"Interface: TreeCapabilities",sidebar_label:"TreeCapabilities",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeCapabilities",id:"api/interfaces/TreeCapabilities",title:"Interface: TreeCapabilities",description:"Type parameters",source:"@site/docs/api/interfaces/TreeCapabilities.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeCapabilities",permalink:"/docs/api/interfaces/TreeCapabilities",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeCapabilities",title:"Interface: TreeCapabilities",sidebar_label:"TreeCapabilities",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"LiveDescriptors",permalink:"/docs/api/interfaces/LiveDescriptors"},next:{title:"TreeChangeActions",permalink:"/docs/api/interfaces/TreeChangeActions"}},o={},d=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"autoFocus",id:"autofocus",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"canDrag",id:"candrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"canDragAndDrop",id:"candraganddrop",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"canDropAt",id:"candropat",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"canDropBelowOpenFolders",id:"candropbelowopenfolders",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"canDropOnFolder",id:"candroponfolder",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"canDropOnNonFolder",id:"candroponnonfolder",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"canInvokePrimaryActionOnItemContainer",id:"caninvokeprimaryactiononitemcontainer",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"canRename",id:"canrename",level:3},{value:"Defined in",id:"defined-in-8",level:4},{value:"canReorderItems",id:"canreorderitems",level:3},{value:"Defined in",id:"defined-in-9",level:4},{value:"canSearch",id:"cansearch",level:3},{value:"Defined in",id:"defined-in-10",level:4},{value:"canSearchByStartingTyping",id:"cansearchbystartingtyping",level:3},{value:"Defined in",id:"defined-in-11",level:4},{value:"defaultInteractionMode",id:"defaultinteractionmode",level:3},{value:"Defined in",id:"defined-in-12",level:4},{value:"disableArrowKeys",id:"disablearrowkeys",level:3},{value:"Defined in",id:"defined-in-13",level:4},{value:"doesSearchMatchItem",id:"doessearchmatchitem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-14",level:4},{value:"shouldRenderChildren",id:"shouldrenderchildren",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-15",level:4},{value:"showLiveDescription",id:"showlivedescription",level:3},{value:"Defined in",id:"defined-in-16",level:4}],s={toc:d};function m(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},s,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeCapabilities"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentConfiguration"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps"},(0,r.kt)("inlineCode",{parentName:"a"},"UncontrolledTreeEnvironmentProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"autofocus"},"autoFocus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"autoFocus"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L174"},"types.ts:174")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candrag"},"canDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDrag"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L168"},"types.ts:168")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candraganddrop"},"canDragAndDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDragAndDrop"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L164"},"types.ts:164")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropat"},"canDropAt"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropAt"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L169"},"types.ts:169")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropbelowopenfolders"},"canDropBelowOpenFolders"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropBelowOpenFolders"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("p",null,"See Issue #148 or the sample at\n",(0,r.kt)("a",{parentName:"p",href:"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"},"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"),"\nfor details."),(0,r.kt)("p",null,"If enabled, dropping at the bottom of an open folder will drop the items\nin the parent folder below the hovered item instead of inside the folder\nat the top."),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L195"},"types.ts:195")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponfolder"},"canDropOnFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L165"},"types.ts:165")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponnonfolder"},"canDropOnNonFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnNonFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L166"},"types.ts:166")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canInvokePrimaryActionOnItemContainer"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L170"},"types.ts:170")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canrename"},"canRename"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canRename"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L173"},"types.ts:173")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canreorderitems"},"canReorderItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canReorderItems"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L167"},"types.ts:167")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearch"},"canSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L171"},"types.ts:171")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearchbystartingtyping"},"canSearchByStartingTyping"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearchByStartingTyping"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L172"},"types.ts:172")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"defaultinteractionmode"},"defaultInteractionMode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"defaultInteractionMode"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/enums/InteractionMode"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionMode"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/InteractionManager"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionManager")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L163"},"types.ts:163")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disablearrowkeys"},"disableArrowKeys"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"disableArrowKeys"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L197"},"types.ts:197")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"doessearchmatchitem"},"doesSearchMatchItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"doesSearchMatchItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemTitle")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L175"},"types.ts:175")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"shouldrenderchildren"},"shouldRenderChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"shouldRenderChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L181"},"types.ts:181")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"showlivedescription"},"showLiveDescription"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"showLiveDescription"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L180"},"types.ts:180")))}m.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>s,kt:()=>k});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var o=n.createContext({}),d=function(e){var t=n.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},s=function(e){var t=d(e.components);return n.createElement(o.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},c=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,o=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),c=d(a),k=r,u=c["".concat(o,".").concat(k)]||c[k]||m[k]||i;return a?n.createElement(u,l(l({ref:t},s),{},{components:a})):n.createElement(u,l({ref:t},s))}));function k(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=c;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var d=2;d{a.r(t),a.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>c,frontMatter:()=>i,metadata:()=>p,toc:()=>d});var n=a(7896),r=(a(2784),a(876));const i={id:"TreeCapabilities",title:"Interface: TreeCapabilities",sidebar_label:"TreeCapabilities",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeCapabilities",id:"api/interfaces/TreeCapabilities",title:"Interface: TreeCapabilities",description:"Type parameters",source:"@site/docs/api/interfaces/TreeCapabilities.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeCapabilities",permalink:"/docs/api/interfaces/TreeCapabilities",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeCapabilities",title:"Interface: TreeCapabilities",sidebar_label:"TreeCapabilities",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"LiveDescriptors",permalink:"/docs/api/interfaces/LiveDescriptors"},next:{title:"TreeChangeActions",permalink:"/docs/api/interfaces/TreeChangeActions"}},o={},d=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"autoFocus",id:"autofocus",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"canDrag",id:"candrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Defined in",id:"defined-in-1",level:4},{value:"canDragAndDrop",id:"candraganddrop",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"canDropAt",id:"candropat",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Defined in",id:"defined-in-3",level:4},{value:"canDropBelowOpenFolders",id:"candropbelowopenfolders",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"canDropOnFolder",id:"candroponfolder",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"canDropOnNonFolder",id:"candroponnonfolder",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"canInvokePrimaryActionOnItemContainer",id:"caninvokeprimaryactiononitemcontainer",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"canRename",id:"canrename",level:3},{value:"Defined in",id:"defined-in-8",level:4},{value:"canReorderItems",id:"canreorderitems",level:3},{value:"Defined in",id:"defined-in-9",level:4},{value:"canSearch",id:"cansearch",level:3},{value:"Defined in",id:"defined-in-10",level:4},{value:"canSearchByStartingTyping",id:"cansearchbystartingtyping",level:3},{value:"Defined in",id:"defined-in-11",level:4},{value:"defaultInteractionMode",id:"defaultinteractionmode",level:3},{value:"Defined in",id:"defined-in-12",level:4},{value:"disableArrowKeys",id:"disablearrowkeys",level:3},{value:"Defined in",id:"defined-in-13",level:4},{value:"doesSearchMatchItem",id:"doessearchmatchitem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Defined in",id:"defined-in-14",level:4},{value:"shouldRenderChildren",id:"shouldrenderchildren",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Defined in",id:"defined-in-15",level:4},{value:"showLiveDescription",id:"showlivedescription",level:3},{value:"Defined in",id:"defined-in-16",level:4}],s={toc:d};function c(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},s,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeCapabilities"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentConfiguration"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps"},(0,r.kt)("inlineCode",{parentName:"a"},"UncontrolledTreeEnvironmentProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"autofocus"},"autoFocus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"autoFocus"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L174"},"types.ts:174")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candrag"},"canDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDrag"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L168"},"types.ts:168")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candraganddrop"},"canDragAndDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDragAndDrop"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L164"},"types.ts:164")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropat"},"canDropAt"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropAt"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L169"},"types.ts:169")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropbelowopenfolders"},"canDropBelowOpenFolders"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropBelowOpenFolders"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("p",null,"See Issue #148 or the sample at\n",(0,r.kt)("a",{parentName:"p",href:"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"},"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"),"\nfor details."),(0,r.kt)("p",null,"If enabled, dropping at the bottom of an open folder will drop the items\nin the parent folder below the hovered item instead of inside the folder\nat the top."),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L195"},"types.ts:195")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponfolder"},"canDropOnFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L165"},"types.ts:165")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponnonfolder"},"canDropOnNonFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnNonFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L166"},"types.ts:166")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canInvokePrimaryActionOnItemContainer"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L170"},"types.ts:170")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canrename"},"canRename"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canRename"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L173"},"types.ts:173")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canreorderitems"},"canReorderItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canReorderItems"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L167"},"types.ts:167")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearch"},"canSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L171"},"types.ts:171")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearchbystartingtyping"},"canSearchByStartingTyping"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearchByStartingTyping"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L172"},"types.ts:172")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"defaultinteractionmode"},"defaultInteractionMode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"defaultInteractionMode"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/enums/InteractionMode"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionMode"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/InteractionManager"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionManager")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L163"},"types.ts:163")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disablearrowkeys"},"disableArrowKeys"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"disableArrowKeys"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L197"},"types.ts:197")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"doessearchmatchitem"},"doesSearchMatchItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"doesSearchMatchItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemTitle")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L175"},"types.ts:175")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"shouldrenderchildren"},"shouldRenderChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"shouldRenderChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L181"},"types.ts:181")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"showlivedescription"},"showLiveDescription"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"showLiveDescription"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L180"},"types.ts:180")))}c.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>s,kt:()=>k});var n=a(2784);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function l(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var o=n.createContext({}),d=function(e){var t=n.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},s=function(e){var t=d(e.components);return n.createElement(o.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,i=e.originalType,o=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),m=d(a),k=r,u=m["".concat(o,".").concat(k)]||m[k]||c[k]||i;return a?n.createElement(u,l(l({ref:t},s),{},{components:a})):n.createElement(u,l({ref:t},s))}));function k(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=a.length,l=new Array(i);l[0]=m;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var d=2;d{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>m,frontMatter:()=>i,metadata:()=>d,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"TreeItemRenderContext",title:"Interface: TreeItemRenderContext",sidebar_label:"TreeItemRenderContext",sidebar_position:0,custom_edit_url:null},l=void 0,d={unversionedId:"api/interfaces/TreeItemRenderContext",id:"api/interfaces/TreeItemRenderContext",title:"Interface: TreeItemRenderContext",description:"Type parameters",source:"@site/docs/api/interfaces/TreeItemRenderContext.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeItemRenderContext",permalink:"/docs/api/interfaces/TreeItemRenderContext",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeItemRenderContext",title:"Interface: TreeItemRenderContext",sidebar_label:"TreeItemRenderContext",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeItemActions",permalink:"/docs/api/interfaces/TreeItemActions"},next:{title:"TreeItemRenderFlags",permalink:"/docs/api/interfaces/TreeItemRenderFlags"}},p={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"addToSelectedItems",id:"addtoselecteditems",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"arrowProps",id:"arrowprops",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"canDrag",id:"candrag",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"canDropOn",id:"candropon",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"collapseItem",id:"collapseitem",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"expandItem",id:"expanditem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"focusItem",id:"focusitem",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"interactiveElementProps",id:"interactiveelementprops",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"isDraggingOver",id:"isdraggingover",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"isDraggingOverParent",id:"isdraggingoverparent",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"isExpanded",id:"isexpanded",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"isFocused",id:"isfocused",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"isRenaming",id:"isrenaming",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"isSearchMatching",id:"issearchmatching",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"isSelected",id:"isselected",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"itemContainerWithChildrenProps",id:"itemcontainerwithchildrenprops",level:3},{value:"Defined in",id:"defined-in-15",level:4},{value:"itemContainerWithoutChildrenProps",id:"itemcontainerwithoutchildrenprops",level:3},{value:"Defined in",id:"defined-in-16",level:4},{value:"primaryAction",id:"primaryaction",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"selectItem",id:"selectitem",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"selectUpTo",id:"selectupto",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"startDragging",id:"startdragging",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"startRenamingItem",id:"startrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"stopRenamingItem",id:"stoprenamingitem",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Returns",id:"returns-9",level:5},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"toggleExpandedState",id:"toggleexpandedstate",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Returns",id:"returns-10",level:5},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"unselectItem",id:"unselectitem",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Returns",id:"returns-11",level:5},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"viewStateFlags",id:"viewstateflags",level:3},{value:"Defined in",id:"defined-in-25",level:4}],s={toc:o};function m(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemActions")))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderFlags"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeItemRenderContext"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"addtoselecteditems"},"addToSelectedItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"addToSelectedItems"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#addtoselecteditems"},"addToSelectedItems")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L35"},"types.ts:35")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"arrowprops"},"arrowProps"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"arrowProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L62"},"types.ts:62")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candrag"},"canDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDrag"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#candrag"},"canDrag")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L52"},"types.ts:52")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropon"},"canDropOn"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOn"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#candropon"},"canDropOn")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L53"},"types.ts:53")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseitem"},"collapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#collapseitem"},"collapseItem")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L31"},"types.ts:31")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expanditem"},"expandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#expanditem"},"expandItem")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L30"},"types.ts:30")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focusitem"},"focusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean")),(0,r.kt)("td",{parentName:"tr",align:"left"},"Defaults to true.")))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#focusitem"},"focusItem")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L40"},"types.ts:40")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"interactiveelementprops"},"interactiveElementProps"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"interactiveElementProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L59"},"types.ts:59")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isdraggingover"},"isDraggingOver"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isDraggingOver"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#isdraggingover"},"isDraggingOver")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L49"},"types.ts:49")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isdraggingoverparent"},"isDraggingOverParent"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isDraggingOverParent"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#isdraggingoverparent"},"isDraggingOverParent")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L50"},"types.ts:50")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isexpanded"},"isExpanded"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isExpanded"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#isexpanded"},"isExpanded")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L46"},"types.ts:46")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isfocused"},"isFocused"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isFocused"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#isfocused"},"isFocused")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L47"},"types.ts:47")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isrenaming"},"isRenaming"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isRenaming"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#isrenaming"},"isRenaming")),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L48"},"types.ts:48")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"issearchmatching"},"isSearchMatching"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isSearchMatching"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#issearchmatching"},"isSearchMatching")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L51"},"types.ts:51")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isselected"},"isSelected"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isSelected"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#isselected"},"isSelected")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L45"},"types.ts:45")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"itemcontainerwithchildrenprops"},"itemContainerWithChildrenProps"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"itemContainerWithChildrenProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L61"},"types.ts:61")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"itemcontainerwithoutchildrenprops"},"itemContainerWithoutChildrenProps"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"itemContainerWithoutChildrenProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L60"},"types.ts:60")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"primaryaction"},"primaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"primaryAction"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#primaryaction"},"primaryAction")),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L27"},"types.ts:27")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"selectitem"},"selectItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"selectItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#selectitem"},"selectItem")),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L33"},"types.ts:33")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"selectupto"},"selectUpTo"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"selectUpTo"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"overrideOldSelection?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"overrideOldSelection?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"overrideOldSelection?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#selectupto"},"selectUpTo")),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L36"},"types.ts:36")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startdragging"},"startDragging"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"startDragging"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#startdragging"},"startDragging")),(0,r.kt)("h4",{id:"defined-in-20"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L37"},"types.ts:37")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startrenamingitem"},"startRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"startRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#startrenamingitem"},"startRenamingItem")),(0,r.kt)("h4",{id:"defined-in-21"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L28"},"types.ts:28")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"stoprenamingitem"},"stopRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"stopRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#stoprenamingitem"},"stopRenamingItem")),(0,r.kt)("h4",{id:"defined-in-22"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L29"},"types.ts:29")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleexpandedstate"},"toggleExpandedState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleExpandedState"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#toggleexpandedstate"},"toggleExpandedState")),(0,r.kt)("h4",{id:"defined-in-23"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L32"},"types.ts:32")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"unselectitem"},"unselectItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"unselectItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#unselectitem"},"unselectItem")),(0,r.kt)("h4",{id:"defined-in-24"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L34"},"types.ts:34")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"viewstateflags"},"viewStateFlags"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"viewStateFlags"),": { ","[collection in string]",": boolean }"),(0,r.kt)("h4",{id:"defined-in-25"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L63"},"types.ts:63")))}m.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>k});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var p=a.createContext({}),o=function(e){var t=a.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},s=function(e){var t=o(e.components);return a.createElement(p.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},c=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,p=e.parentName,s=d(e,["components","mdxType","originalType","parentName"]),c=o(n),k=r,u=c["".concat(p,".").concat(k)]||c[k]||m[k]||i;return n?a.createElement(u,l(l({ref:t},s),{},{components:n})):a.createElement(u,l({ref:t},s))}));function k(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,l=new Array(i);l[0]=c;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:r,l[1]=d;for(var o=2;o{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>c,frontMatter:()=>i,metadata:()=>d,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"TreeItemRenderContext",title:"Interface: TreeItemRenderContext",sidebar_label:"TreeItemRenderContext",sidebar_position:0,custom_edit_url:null},l=void 0,d={unversionedId:"api/interfaces/TreeItemRenderContext",id:"api/interfaces/TreeItemRenderContext",title:"Interface: TreeItemRenderContext",description:"Type parameters",source:"@site/docs/api/interfaces/TreeItemRenderContext.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeItemRenderContext",permalink:"/docs/api/interfaces/TreeItemRenderContext",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeItemRenderContext",title:"Interface: TreeItemRenderContext",sidebar_label:"TreeItemRenderContext",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeItemActions",permalink:"/docs/api/interfaces/TreeItemActions"},next:{title:"TreeItemRenderFlags",permalink:"/docs/api/interfaces/TreeItemRenderFlags"}},p={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"addToSelectedItems",id:"addtoselecteditems",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"arrowProps",id:"arrowprops",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"canDrag",id:"candrag",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"canDropOn",id:"candropon",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"collapseItem",id:"collapseitem",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"expandItem",id:"expanditem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"focusItem",id:"focusitem",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"interactiveElementProps",id:"interactiveelementprops",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"isDraggingOver",id:"isdraggingover",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"isDraggingOverParent",id:"isdraggingoverparent",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"isExpanded",id:"isexpanded",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"isFocused",id:"isfocused",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"isRenaming",id:"isrenaming",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"isSearchMatching",id:"issearchmatching",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"isSelected",id:"isselected",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"itemContainerWithChildrenProps",id:"itemcontainerwithchildrenprops",level:3},{value:"Defined in",id:"defined-in-15",level:4},{value:"itemContainerWithoutChildrenProps",id:"itemcontainerwithoutchildrenprops",level:3},{value:"Defined in",id:"defined-in-16",level:4},{value:"primaryAction",id:"primaryaction",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"selectItem",id:"selectitem",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"selectUpTo",id:"selectupto",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-19",level:4},{value:"startDragging",id:"startdragging",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"startRenamingItem",id:"startrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"stopRenamingItem",id:"stoprenamingitem",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Returns",id:"returns-9",level:5},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"toggleExpandedState",id:"toggleexpandedstate",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Returns",id:"returns-10",level:5},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"unselectItem",id:"unselectitem",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Returns",id:"returns-11",level:5},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"viewStateFlags",id:"viewstateflags",level:3},{value:"Defined in",id:"defined-in-25",level:4}],s={toc:o};function c(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemActions")))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderFlags"))),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeItemRenderContext"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"addtoselecteditems"},"addToSelectedItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"addToSelectedItems"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#addtoselecteditems"},"addToSelectedItems")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L35"},"types.ts:35")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"arrowprops"},"arrowProps"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"arrowProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L62"},"types.ts:62")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candrag"},"canDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDrag"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#candrag"},"canDrag")),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L52"},"types.ts:52")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropon"},"canDropOn"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOn"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#candropon"},"canDropOn")),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L53"},"types.ts:53")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"collapseitem"},"collapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"collapseItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#collapseitem"},"collapseItem")),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L31"},"types.ts:31")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expanditem"},"expandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"expandItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#expanditem"},"expandItem")),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L30"},"types.ts:30")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"focusitem"},"focusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"focusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean")),(0,r.kt)("td",{parentName:"tr",align:"left"},"Defaults to true.")))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#focusitem"},"focusItem")),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L40"},"types.ts:40")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"interactiveelementprops"},"interactiveElementProps"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"interactiveElementProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L59"},"types.ts:59")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isdraggingover"},"isDraggingOver"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isDraggingOver"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#isdraggingover"},"isDraggingOver")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L49"},"types.ts:49")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isdraggingoverparent"},"isDraggingOverParent"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isDraggingOverParent"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#isdraggingoverparent"},"isDraggingOverParent")),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L50"},"types.ts:50")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isexpanded"},"isExpanded"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isExpanded"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#isexpanded"},"isExpanded")),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L46"},"types.ts:46")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isfocused"},"isFocused"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isFocused"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#isfocused"},"isFocused")),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L47"},"types.ts:47")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isrenaming"},"isRenaming"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isRenaming"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#isrenaming"},"isRenaming")),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L48"},"types.ts:48")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"issearchmatching"},"isSearchMatching"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isSearchMatching"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#issearchmatching"},"isSearchMatching")),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L51"},"types.ts:51")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"isselected"},"isSelected"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"isSelected"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderFlags#isselected"},"isSelected")),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L45"},"types.ts:45")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"itemcontainerwithchildrenprops"},"itemContainerWithChildrenProps"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"itemContainerWithChildrenProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L61"},"types.ts:61")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"itemcontainerwithoutchildrenprops"},"itemContainerWithoutChildrenProps"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"itemContainerWithoutChildrenProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L60"},"types.ts:60")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"primaryaction"},"primaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"primaryAction"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#primaryaction"},"primaryAction")),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L27"},"types.ts:27")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"selectitem"},"selectItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"selectItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#selectitem"},"selectItem")),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L33"},"types.ts:33")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"selectupto"},"selectUpTo"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"selectUpTo"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"overrideOldSelection?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"overrideOldSelection?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"overrideOldSelection?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#selectupto"},"selectUpTo")),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L36"},"types.ts:36")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startdragging"},"startDragging"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"startDragging"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#startdragging"},"startDragging")),(0,r.kt)("h4",{id:"defined-in-20"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L37"},"types.ts:37")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startrenamingitem"},"startRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"startRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#startrenamingitem"},"startRenamingItem")),(0,r.kt)("h4",{id:"defined-in-21"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L28"},"types.ts:28")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"stoprenamingitem"},"stopRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"stopRenamingItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#stoprenamingitem"},"stopRenamingItem")),(0,r.kt)("h4",{id:"defined-in-22"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L29"},"types.ts:29")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleexpandedstate"},"toggleExpandedState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"toggleExpandedState"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#toggleexpandedstate"},"toggleExpandedState")),(0,r.kt)("h4",{id:"defined-in-23"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L32"},"types.ts:32")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"unselectitem"},"unselectItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"unselectItem"),": () => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions"),".",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemActions#unselectitem"},"unselectItem")),(0,r.kt)("h4",{id:"defined-in-24"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L34"},"types.ts:34")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"viewstateflags"},"viewStateFlags"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"viewStateFlags"),": { ","[collection in string]",": boolean }"),(0,r.kt)("h4",{id:"defined-in-25"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L63"},"types.ts:63")))}c.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>k});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var p=a.createContext({}),o=function(e){var t=a.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},s=function(e){var t=o(e.components);return a.createElement(p.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},m=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,p=e.parentName,s=d(e,["components","mdxType","originalType","parentName"]),m=o(n),k=r,u=m["".concat(p,".").concat(k)]||m[k]||c[k]||i;return n?a.createElement(u,l(l({ref:t},s),{},{components:n})):a.createElement(u,l({ref:t},s))}));function k(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,l=new Array(i);l[0]=m;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d.mdxType="string"==typeof e?e:r,l[1]=d;for(var o=2;o{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>c,frontMatter:()=>i,metadata:()=>p,toc:()=>d});var r=n(7896),a=(n(2784),n(876));const i={id:"TreeItemRenderFlags",title:"Interface: TreeItemRenderFlags",sidebar_label:"TreeItemRenderFlags",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeItemRenderFlags",id:"api/interfaces/TreeItemRenderFlags",title:"Interface: TreeItemRenderFlags",description:"Hierarchy",source:"@site/docs/api/interfaces/TreeItemRenderFlags.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeItemRenderFlags",permalink:"/docs/api/interfaces/TreeItemRenderFlags",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeItemRenderFlags",title:"Interface: TreeItemRenderFlags",sidebar_label:"TreeItemRenderFlags",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeItemRenderContext",permalink:"/docs/api/interfaces/TreeItemRenderContext"},next:{title:"TreePosition",permalink:"/docs/api/interfaces/TreePosition"}},o={},d=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"canDrag",id:"candrag",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"canDropOn",id:"candropon",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"isDraggingOver",id:"isdraggingover",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"isDraggingOverParent",id:"isdraggingoverparent",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"isExpanded",id:"isexpanded",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"isFocused",id:"isfocused",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"isRenaming",id:"isrenaming",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"isSearchMatching",id:"issearchmatching",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"isSelected",id:"isselected",level:3},{value:"Defined in",id:"defined-in-8",level:4}],s={toc:d};function c(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("inlineCode",{parentName:"strong"},"TreeItemRenderFlags"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext"))))),(0,a.kt)("h2",{id:"properties"},"Properties"),(0,a.kt)("h3",{id:"candrag"},"canDrag"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"canDrag"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L52"},"types.ts:52")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"candropon"},"canDropOn"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"canDropOn"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L53"},"types.ts:53")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"isdraggingover"},"isDraggingOver"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isDraggingOver"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L49"},"types.ts:49")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"isdraggingoverparent"},"isDraggingOverParent"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isDraggingOverParent"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L50"},"types.ts:50")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"isexpanded"},"isExpanded"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isExpanded"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L46"},"types.ts:46")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"isfocused"},"isFocused"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isFocused"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L47"},"types.ts:47")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"isrenaming"},"isRenaming"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isRenaming"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L48"},"types.ts:48")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"issearchmatching"},"isSearchMatching"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isSearchMatching"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L51"},"types.ts:51")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"isselected"},"isSelected"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isSelected"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L45"},"types.ts:45")))}c.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>m});var r=n(2784);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var o=r.createContext({}),d=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},s=function(e){var t=d(e.components);return r.createElement(o.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,o=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),u=d(n),m=a,k=u["".concat(o,".").concat(m)]||u[m]||c[m]||i;return n?r.createElement(k,l(l({ref:t},s),{},{components:n})):r.createElement(k,l({ref:t},s))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,l=new Array(i);l[0]=u;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:a,l[1]=p;for(var d=2;d{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>c,frontMatter:()=>i,metadata:()=>p,toc:()=>s});var r=n(7896),a=(n(2784),n(876));const i={id:"TreeItemRenderFlags",title:"Interface: TreeItemRenderFlags",sidebar_label:"TreeItemRenderFlags",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeItemRenderFlags",id:"api/interfaces/TreeItemRenderFlags",title:"Interface: TreeItemRenderFlags",description:"Hierarchy",source:"@site/docs/api/interfaces/TreeItemRenderFlags.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeItemRenderFlags",permalink:"/docs/api/interfaces/TreeItemRenderFlags",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeItemRenderFlags",title:"Interface: TreeItemRenderFlags",sidebar_label:"TreeItemRenderFlags",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeItemRenderContext",permalink:"/docs/api/interfaces/TreeItemRenderContext"},next:{title:"TreePosition",permalink:"/docs/api/interfaces/TreePosition"}},o={},s=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"canDrag",id:"candrag",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"canDropOn",id:"candropon",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"isDraggingOver",id:"isdraggingover",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"isDraggingOverParent",id:"isdraggingoverparent",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"isExpanded",id:"isexpanded",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"isFocused",id:"isfocused",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"isRenaming",id:"isrenaming",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"isSearchMatching",id:"issearchmatching",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"isSelected",id:"isselected",level:3},{value:"Defined in",id:"defined-in-8",level:4}],d={toc:s};function c(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("inlineCode",{parentName:"strong"},"TreeItemRenderFlags"))),(0,a.kt)("p",{parentName:"li"},"\u21b3 ",(0,a.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,a.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext"))))),(0,a.kt)("h2",{id:"properties"},"Properties"),(0,a.kt)("h3",{id:"candrag"},"canDrag"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"canDrag"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L52"},"types.ts:52")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"candropon"},"canDropOn"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"canDropOn"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L53"},"types.ts:53")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"isdraggingover"},"isDraggingOver"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isDraggingOver"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L49"},"types.ts:49")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"isdraggingoverparent"},"isDraggingOverParent"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isDraggingOverParent"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L50"},"types.ts:50")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"isexpanded"},"isExpanded"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isExpanded"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L46"},"types.ts:46")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"isfocused"},"isFocused"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isFocused"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L47"},"types.ts:47")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"isrenaming"},"isRenaming"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isRenaming"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L48"},"types.ts:48")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"issearchmatching"},"isSearchMatching"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isSearchMatching"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L51"},"types.ts:51")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"isselected"},"isSelected"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,a.kt)("strong",{parentName:"p"},"isSelected"),": ",(0,a.kt)("inlineCode",{parentName:"p"},"boolean")),(0,a.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L45"},"types.ts:45")))}c.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>m});var r=n(2784);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var o=r.createContext({}),s=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},d=function(e){var t=s(e.components);return r.createElement(o.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,o=e.parentName,d=p(e,["components","mdxType","originalType","parentName"]),u=s(n),m=a,k=u["".concat(o,".").concat(m)]||u[m]||c[m]||i;return n?r.createElement(k,l(l({ref:t},d),{},{components:n})):r.createElement(k,l({ref:t},d))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,l=new Array(i);l[0]=u;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:a,l[1]=p;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>u,frontMatter:()=>i,metadata:()=>p,toc:()=>c});var a=r(7896),n=(r(2784),r(876));const i={id:"ExplicitDataSource",title:"Interface: ExplicitDataSource",sidebar_label:"ExplicitDataSource",sidebar_position:0,custom_edit_url:null},o=void 0,p={unversionedId:"api/interfaces/ExplicitDataSource",id:"api/interfaces/ExplicitDataSource",title:"Interface: ExplicitDataSource",description:"Type parameters",source:"@site/docs/api/interfaces/ExplicitDataSource.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/ExplicitDataSource",permalink:"/docs/api/interfaces/ExplicitDataSource",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ExplicitDataSource",title:"Interface: ExplicitDataSource",sidebar_label:"ExplicitDataSource",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"DraggingPositionRoot",permalink:"/docs/api/interfaces/DraggingPositionRoot"},next:{title:"ImplicitDataSource",permalink:"/docs/api/interfaces/ImplicitDataSource"}},l={},c=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"items",id:"items",level:3},{value:"Defined in",id:"defined-in",level:4}],s={toc:c};function u(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,a.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"T")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"any"))))),(0,n.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("inlineCode",{parentName:"strong"},"ExplicitDataSource"))),(0,n.kt)("p",{parentName:"li"},"\u21b3 ",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},(0,n.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentConfiguration"))))),(0,n.kt)("h2",{id:"properties"},"Properties"),(0,n.kt)("h3",{id:"items"},"items"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"items"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,n.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,n.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,n.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,n.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,n.kt)("h4",{id:"defined-in"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L211"},"types.ts:211")))}u.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>m});var a=r(2784);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=a.createContext({}),c=function(e){var t=a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},s=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,i=e.originalType,l=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),d=c(r),m=n,f=d["".concat(l,".").concat(m)]||d[m]||u[m]||i;return r?a.createElement(f,o(o({ref:t},s),{},{components:r})):a.createElement(f,o({ref:t},s))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var i=r.length,o=new Array(i);o[0]=d;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeof e?e:n,o[1]=p;for(var c=2;c{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>u,frontMatter:()=>i,metadata:()=>p,toc:()=>c});var a=r(7896),n=(r(2784),r(876));const i={id:"ExplicitDataSource",title:"Interface: ExplicitDataSource",sidebar_label:"ExplicitDataSource",sidebar_position:0,custom_edit_url:null},o=void 0,p={unversionedId:"api/interfaces/ExplicitDataSource",id:"api/interfaces/ExplicitDataSource",title:"Interface: ExplicitDataSource",description:"Type parameters",source:"@site/docs/api/interfaces/ExplicitDataSource.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/ExplicitDataSource",permalink:"/docs/api/interfaces/ExplicitDataSource",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ExplicitDataSource",title:"Interface: ExplicitDataSource",sidebar_label:"ExplicitDataSource",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"DraggingPositionRoot",permalink:"/docs/api/interfaces/DraggingPositionRoot"},next:{title:"ImplicitDataSource",permalink:"/docs/api/interfaces/ImplicitDataSource"}},l={},c=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"items",id:"items",level:3},{value:"Defined in",id:"defined-in",level:4}],s={toc:c};function u(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,a.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,n.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"T")),(0,n.kt)("td",{parentName:"tr",align:"left"},(0,n.kt)("inlineCode",{parentName:"td"},"any"))))),(0,n.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("p",{parentName:"li"},(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("inlineCode",{parentName:"strong"},"ExplicitDataSource"))),(0,n.kt)("p",{parentName:"li"},"\u21b3 ",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},(0,n.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentConfiguration"))))),(0,n.kt)("h2",{id:"properties"},"Properties"),(0,n.kt)("h3",{id:"items"},"items"),(0,n.kt)("p",null,"\u2022 ",(0,n.kt)("strong",{parentName:"p"},"items"),": ",(0,n.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,n.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,n.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,n.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,n.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,n.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,n.kt)("h4",{id:"defined-in"},"Defined in"),(0,n.kt)("p",null,(0,n.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L211"},"types.ts:211")))}u.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>m});var a=r(2784);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function o(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=a.createContext({}),c=function(e){var t=a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},s=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,i=e.originalType,l=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),d=c(r),m=n,f=d["".concat(l,".").concat(m)]||d[m]||u[m]||i;return r?a.createElement(f,o(o({ref:t},s),{},{components:r})):a.createElement(f,o({ref:t},s))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var i=r.length,o=new Array(i);o[0]=d;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeof e?e:n,o[1]=p;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var n=r(7896),i=(r(2784),r(876));const a={id:"AbstractDraggingPosition",title:"Interface: AbstractDraggingPosition",sidebar_label:"AbstractDraggingPosition",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"api/interfaces/AbstractDraggingPosition",id:"api/interfaces/AbstractDraggingPosition",title:"Interface: AbstractDraggingPosition",description:"Hierarchy",source:"@site/docs/api/interfaces/AbstractDraggingPosition.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/AbstractDraggingPosition",permalink:"/docs/api/interfaces/AbstractDraggingPosition",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"AbstractDraggingPosition",title:"Interface: AbstractDraggingPosition",sidebar_label:"AbstractDraggingPosition",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"StaticTreeDataProvider",permalink:"/docs/api/classes/StaticTreeDataProvider"},next:{title:"ControlledTreeEnvironmentProps",permalink:"/docs/api/interfaces/ControlledTreeEnvironmentProps"}},p={},s=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"depth",id:"depth",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"linearIndex",id:"linearindex",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"targetType",id:"targettype",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"treeId",id:"treeid",level:3},{value:"Defined in",id:"defined-in-3",level:4}],c={toc:s};function d(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("strong",{parentName:"p"},(0,i.kt)("inlineCode",{parentName:"strong"},"AbstractDraggingPosition"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DraggingPositionItem"},(0,i.kt)("inlineCode",{parentName:"a"},"DraggingPositionItem"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DraggingPositionBetweenItems"},(0,i.kt)("inlineCode",{parentName:"a"},"DraggingPositionBetweenItems"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DraggingPositionRoot"},(0,i.kt)("inlineCode",{parentName:"a"},"DraggingPositionRoot"))))),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"depth"},"depth"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"depth"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"defined-in"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L342"},"types.ts:342")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"linearindex"},"linearIndex"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"linearIndex"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L341"},"types.ts:341")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"targettype"},"targetType"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"targetType"),": ",(0,i.kt)("inlineCode",{parentName:"p"},'"item"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"between-items"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"root"')),(0,i.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L339"},"types.ts:339")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"treeid"},"treeId"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"treeId"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L340"},"types.ts:340")))}d.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>u});var n=r(2784);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var p=n.createContext({}),s=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=s(e.components);return n.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,p=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),g=s(r),u=i,f=g["".concat(p,".").concat(u)]||g[u]||d[u]||a;return r?n.createElement(f,o(o({ref:t},c),{},{components:r})):n.createElement(f,o({ref:t},c))}));function u(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=g;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:i,o[1]=l;for(var s=2;s{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var n=r(7896),i=(r(2784),r(876));const a={id:"AbstractDraggingPosition",title:"Interface: AbstractDraggingPosition",sidebar_label:"AbstractDraggingPosition",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"api/interfaces/AbstractDraggingPosition",id:"api/interfaces/AbstractDraggingPosition",title:"Interface: AbstractDraggingPosition",description:"Hierarchy",source:"@site/docs/api/interfaces/AbstractDraggingPosition.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/AbstractDraggingPosition",permalink:"/docs/api/interfaces/AbstractDraggingPosition",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"AbstractDraggingPosition",title:"Interface: AbstractDraggingPosition",sidebar_label:"AbstractDraggingPosition",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"StaticTreeDataProvider",permalink:"/docs/api/classes/StaticTreeDataProvider"},next:{title:"ControlledTreeEnvironmentProps",permalink:"/docs/api/interfaces/ControlledTreeEnvironmentProps"}},p={},s=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"depth",id:"depth",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"linearIndex",id:"linearindex",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"targetType",id:"targettype",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"treeId",id:"treeid",level:3},{value:"Defined in",id:"defined-in-3",level:4}],c={toc:s};function d(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("strong",{parentName:"p"},(0,i.kt)("inlineCode",{parentName:"strong"},"AbstractDraggingPosition"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DraggingPositionItem"},(0,i.kt)("inlineCode",{parentName:"a"},"DraggingPositionItem"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DraggingPositionBetweenItems"},(0,i.kt)("inlineCode",{parentName:"a"},"DraggingPositionBetweenItems"))),(0,i.kt)("p",{parentName:"li"},"\u21b3 ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DraggingPositionRoot"},(0,i.kt)("inlineCode",{parentName:"a"},"DraggingPositionRoot"))))),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"depth"},"depth"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"depth"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"defined-in"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L342"},"types.ts:342")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"linearindex"},"linearIndex"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"linearIndex"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L341"},"types.ts:341")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"targettype"},"targetType"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"targetType"),": ",(0,i.kt)("inlineCode",{parentName:"p"},'"item"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"between-items"')," ","|"," ",(0,i.kt)("inlineCode",{parentName:"p"},'"root"')),(0,i.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L339"},"types.ts:339")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"treeid"},"treeId"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"treeId"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L340"},"types.ts:340")))}d.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>u});var n=r(2784);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var p=n.createContext({}),s=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=s(e.components);return n.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,p=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),g=s(r),u=i,f=g["".concat(p,".").concat(u)]||g[u]||d[u]||a;return r?n.createElement(f,o(o({ref:t},c),{},{components:r})):n.createElement(f,o({ref:t},c))}));function u(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=g;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:i,o[1]=l;for(var s=2;s{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>c,frontMatter:()=>i,metadata:()=>p,toc:()=>d});var a=n(7896),r=(n(2784),n(876));const i={id:"KeyboardBindings",title:"Interface: KeyboardBindings",sidebar_label:"KeyboardBindings",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/KeyboardBindings",id:"api/interfaces/KeyboardBindings",title:"Interface: KeyboardBindings",description:"Properties",source:"@site/docs/api/interfaces/KeyboardBindings.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/KeyboardBindings",permalink:"/docs/api/interfaces/KeyboardBindings",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"KeyboardBindings",title:"Interface: KeyboardBindings",sidebar_label:"KeyboardBindings",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"InteractionManager",permalink:"/docs/api/interfaces/InteractionManager"},next:{title:"LinearItem",permalink:"/docs/api/interfaces/LinearItem"}},o={},d=[{value:"Properties",id:"properties",level:2},{value:"abortProgrammaticDnd",id:"abortprogrammaticdnd",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"abortRenameItem",id:"abortrenameitem",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"abortSearch",id:"abortsearch",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"completeProgrammaticDnd",id:"completeprogrammaticdnd",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"expandSiblings",id:"expandsiblings",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"moveFocusToFirstItem",id:"movefocustofirstitem",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"moveFocusToLastItem",id:"movefocustolastitem",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"primaryAction",id:"primaryaction",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"renameItem",id:"renameitem",level:3},{value:"Defined in",id:"defined-in-8",level:4},{value:"selectAll",id:"selectall",level:3},{value:"Defined in",id:"defined-in-9",level:4},{value:"startProgrammaticDnd",id:"startprogrammaticdnd",level:3},{value:"Defined in",id:"defined-in-10",level:4},{value:"startSearch",id:"startsearch",level:3},{value:"Defined in",id:"defined-in-11",level:4},{value:"toggleSelectItem",id:"toggleselectitem",level:3},{value:"Defined in",id:"defined-in-12",level:4}],s={toc:d};function c(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"abortprogrammaticdnd"},"abortProgrammaticDnd"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"abortProgrammaticDnd"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L475"},"types.ts:475")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"abortrenameitem"},"abortRenameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"abortRenameItem"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L469"},"types.ts:469")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"abortsearch"},"abortSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"abortSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L471"},"types.ts:471")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"completeprogrammaticdnd"},"completeProgrammaticDnd"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"completeProgrammaticDnd"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L476"},"types.ts:476")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandsiblings"},"expandSiblings"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"expandSiblings"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L467"},"types.ts:467")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocustofirstitem"},"moveFocusToFirstItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"moveFocusToFirstItem"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L465"},"types.ts:465")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocustolastitem"},"moveFocusToLastItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"moveFocusToLastItem"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L466"},"types.ts:466")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"primaryaction"},"primaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"primaryAction"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L464"},"types.ts:464")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renameitem"},"renameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renameItem"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L468"},"types.ts:468")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"selectall"},"selectAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"selectAll"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L473"},"types.ts:473")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startprogrammaticdnd"},"startProgrammaticDnd"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"startProgrammaticDnd"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L474"},"types.ts:474")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startsearch"},"startSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"startSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L472"},"types.ts:472")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleselectitem"},"toggleSelectItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"toggleSelectItem"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L470"},"types.ts:470")))}c.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>u});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var o=a.createContext({}),d=function(e){var t=a.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},s=function(e){var t=d(e.components);return a.createElement(o.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},m=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,o=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),m=d(n),u=r,k=m["".concat(o,".").concat(u)]||m[u]||c[u]||i;return n?a.createElement(k,l(l({ref:t},s),{},{components:n})):a.createElement(k,l({ref:t},s))}));function u(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,l=new Array(i);l[0]=m;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var d=2;d{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>c,frontMatter:()=>i,metadata:()=>p,toc:()=>d});var a=n(7896),r=(n(2784),n(876));const i={id:"KeyboardBindings",title:"Interface: KeyboardBindings",sidebar_label:"KeyboardBindings",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/KeyboardBindings",id:"api/interfaces/KeyboardBindings",title:"Interface: KeyboardBindings",description:"Properties",source:"@site/docs/api/interfaces/KeyboardBindings.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/KeyboardBindings",permalink:"/docs/api/interfaces/KeyboardBindings",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"KeyboardBindings",title:"Interface: KeyboardBindings",sidebar_label:"KeyboardBindings",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"InteractionManager",permalink:"/docs/api/interfaces/InteractionManager"},next:{title:"LinearItem",permalink:"/docs/api/interfaces/LinearItem"}},o={},d=[{value:"Properties",id:"properties",level:2},{value:"abortProgrammaticDnd",id:"abortprogrammaticdnd",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"abortRenameItem",id:"abortrenameitem",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"abortSearch",id:"abortsearch",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"completeProgrammaticDnd",id:"completeprogrammaticdnd",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"expandSiblings",id:"expandsiblings",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"moveFocusToFirstItem",id:"movefocustofirstitem",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"moveFocusToLastItem",id:"movefocustolastitem",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"primaryAction",id:"primaryaction",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"renameItem",id:"renameitem",level:3},{value:"Defined in",id:"defined-in-8",level:4},{value:"selectAll",id:"selectall",level:3},{value:"Defined in",id:"defined-in-9",level:4},{value:"startProgrammaticDnd",id:"startprogrammaticdnd",level:3},{value:"Defined in",id:"defined-in-10",level:4},{value:"startSearch",id:"startsearch",level:3},{value:"Defined in",id:"defined-in-11",level:4},{value:"toggleSelectItem",id:"toggleselectitem",level:3},{value:"Defined in",id:"defined-in-12",level:4}],s={toc:d};function c(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"abortprogrammaticdnd"},"abortProgrammaticDnd"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"abortProgrammaticDnd"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L475"},"types.ts:475")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"abortrenameitem"},"abortRenameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"abortRenameItem"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L469"},"types.ts:469")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"abortsearch"},"abortSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"abortSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L471"},"types.ts:471")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"completeprogrammaticdnd"},"completeProgrammaticDnd"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"completeProgrammaticDnd"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L476"},"types.ts:476")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"expandsiblings"},"expandSiblings"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"expandSiblings"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L467"},"types.ts:467")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocustofirstitem"},"moveFocusToFirstItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"moveFocusToFirstItem"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L465"},"types.ts:465")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"movefocustolastitem"},"moveFocusToLastItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"moveFocusToLastItem"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L466"},"types.ts:466")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"primaryaction"},"primaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"primaryAction"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L464"},"types.ts:464")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renameitem"},"renameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"renameItem"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L468"},"types.ts:468")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"selectall"},"selectAll"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"selectAll"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L473"},"types.ts:473")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startprogrammaticdnd"},"startProgrammaticDnd"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"startProgrammaticDnd"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L474"},"types.ts:474")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"startsearch"},"startSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"startSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L472"},"types.ts:472")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"toggleselectitem"},"toggleSelectItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"toggleSelectItem"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L470"},"types.ts:470")))}c.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>u});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var o=a.createContext({}),d=function(e){var t=a.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},s=function(e){var t=d(e.components);return a.createElement(o.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},m=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,o=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),m=d(n),u=r,k=m["".concat(o,".").concat(u)]||m[u]||c[u]||i;return n?a.createElement(k,l(l({ref:t},s),{},{components:n})):a.createElement(k,l({ref:t},s))}));function u(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,l=new Array(i);l[0]=m;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var d=2;d{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>p,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"modules",title:"react-complex-tree",sidebar_label:"Exports",sidebar_position:.5,custom_edit_url:null},l=void 0,p={unversionedId:"api/modules",id:"api/modules",title:"react-complex-tree",description:"Enumerations",source:"@site/docs/api/modules.md",sourceDirName:"api",slug:"/api/modules",permalink:"/docs/api/modules",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:.5,frontMatter:{id:"modules",title:"react-complex-tree",sidebar_label:"Exports",sidebar_position:.5,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"Readme",permalink:"/docs/api/"},next:{title:"InteractionMode",permalink:"/docs/api/enums/InteractionMode"}},d={},o=[{value:"Enumerations",id:"enumerations",level:2},{value:"Classes",id:"classes",level:2},{value:"Interfaces",id:"interfaces",level:2},{value:"Type Aliases",id:"type-aliases",level:2},{value:"AllTreeRenderProps",id:"alltreerenderprops",level:3},{value:"Type parameters",id:"type-parameters",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"DataSource",id:"datasource",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"Disposable",id:"disposable",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"DraggingPosition",id:"draggingposition",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"HoveringPosition",id:"hoveringposition",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"IndividualTreeViewState",id:"individualtreeviewstate",level:3},{value:"Type parameters",id:"type-parameters-2",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"TreeChangeActionsContextProps",id:"treechangeactionscontextprops",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"TreeEnvironmentActionsContextProps",id:"treeenvironmentactionscontextprops",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"TreeItemIndex",id:"treeitemindex",level:3},{value:"Defined in",id:"defined-in-8",level:4},{value:"Variables",id:"variables",level:2},{value:"INTERNALS",id:"internals",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"Functions",id:"functions",level:2},{value:"ControlledTreeEnvironment",id:"controlledtreeenvironment",level:3},{value:"Type parameters",id:"type-parameters-3",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"Tree",id:"tree",level:3},{value:"Type parameters",id:"type-parameters-4",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"UncontrolledTreeEnvironment",id:"uncontrolledtreeenvironment",level:3},{value:"Type parameters",id:"type-parameters-5",level:4},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"createDefaultRenderers",id:"createdefaultrenderers",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"useControlledTreeEnvironmentProps",id:"usecontrolledtreeenvironmentprops",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"useTree",id:"usetree",level:3},{value:"Returns",id:"returns-5",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"useTreeEnvironment",id:"usetreeenvironment",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"useTreeItemRenderContext",id:"usetreeitemrendercontext",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Defined in",id:"defined-in-17",level:4}],m={toc:o};function s(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"enumerations"},"Enumerations"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/enums/InteractionMode"},"InteractionMode"))),(0,r.kt)("h2",{id:"classes"},"Classes"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/classes/StaticTreeDataProvider"},"StaticTreeDataProvider"))),(0,r.kt)("h2",{id:"interfaces"},"Interfaces"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/ControlledTreeEnvironmentProps"},"ControlledTreeEnvironmentProps")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/DragAndDropContextProps"},"DragAndDropContextProps")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/DraggingPositionBetweenItems"},"DraggingPositionBetweenItems")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/DraggingPositionItem"},"DraggingPositionItem")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/DraggingPositionRoot"},"DraggingPositionRoot")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/ExplicitDataSource"},"ExplicitDataSource")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/ImplicitDataSource"},"ImplicitDataSource")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/InteractionManager"},"InteractionManager")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/KeyboardBindings"},"KeyboardBindings")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/LinearItem"},"LinearItem")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/LiveDescriptors"},"LiveDescriptors")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeContextProps"},"TreeContextProps")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeDataProvider"},"TreeDataProvider")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeEnvironmentContextProps"},"TreeEnvironmentContextProps")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeEnvironmentRef"},"TreeEnvironmentRef")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeItem"},"TreeItem")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeItemRenderContext"},"TreeItemRenderContext")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreePosition"},"TreePosition")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeProps"},"TreeProps")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeRef"},"TreeRef")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeViewState"},"TreeViewState")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps"},"UncontrolledTreeEnvironmentProps"))),(0,r.kt)("h2",{id:"type-aliases"},"Type Aliases"),(0,r.kt)("h3",{id:"alltreerenderprops"},"AllTreeRenderProps"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"AllTreeRenderProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">",": ",(0,r.kt)("inlineCode",{parentName:"p"},"Required"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">",">"),(0,r.kt)("h4",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L139"},"types.ts:139")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"datasource"},"DataSource"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"DataSource"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ExplicitDataSource"},(0,r.kt)("inlineCode",{parentName:"a"},"ExplicitDataSource")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ImplicitDataSource"},(0,r.kt)("inlineCode",{parentName:"a"},"ImplicitDataSource")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("h4",{id:"type-parameters-1"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L218"},"types.ts:218")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disposable"},"Disposable"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"Disposable"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Object")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"dispose")),(0,r.kt)("td",{parentName:"tr",align:"left"},"() => ",(0,r.kt)("inlineCode",{parentName:"td"},"void"))))),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L454"},"types.ts:454")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"draggingposition"},"DraggingPosition"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"DraggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DraggingPositionItem"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPositionItem"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DraggingPositionBetweenItems"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPositionBetweenItems"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DraggingPositionRoot"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPositionRoot"))),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L333"},"types.ts:333")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"hoveringposition"},"HoveringPosition"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"HoveringPosition"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Object")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"indentation")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"undefined"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"linearIndex")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"offset")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},'"bottom"')," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},'"top"')," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"undefined"))))),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L525"},"types.ts:525")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"individualtreeviewstate"},"IndividualTreeViewState"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"IndividualTreeViewState"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">",": { ",(0,r.kt)("inlineCode",{parentName:"p"},"expandedItems?"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[] ; ",(0,r.kt)("inlineCode",{parentName:"p"},"focusedItem?"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"selectedItems?"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[] } & { ","[c in C]",": TreeItemIndex ","|"," TreeItemIndex[] ","|"," undefined }"),(0,r.kt)("h4",{id:"type-parameters-2"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L200"},"types.ts:200")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treechangeactionscontextprops"},"TreeChangeActionsContextProps"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"TreeChangeActionsContextProps"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeChangeActions"))),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L432"},"types.ts:432")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeenvironmentactionscontextprops"},"TreeEnvironmentActionsContextProps"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"TreeEnvironmentActionsContextProps"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentChangeActions"))),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L272"},"types.ts:272")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeitemindex"},"TreeItemIndex"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"TreeItemIndex"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L8"},"types.ts:8")),(0,r.kt)("h2",{id:"variables"},"Variables"),(0,r.kt)("h3",{id:"internals"},"INTERNALS"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Const")," ",(0,r.kt)("strong",{parentName:"p"},"INTERNALS"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Object")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"TreeItemChildren")),(0,r.kt)("td",{parentName:"tr",align:"left"},"(",(0,r.kt)("inlineCode",{parentName:"td"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"td"},"children"),": ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[] ; ",(0,r.kt)("inlineCode",{parentName:"td"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"td"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"td"},"parentId"),": ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"td"},"Element"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"TreeItemElement")),(0,r.kt)("td",{parentName:"tr",align:"left"},"(",(0,r.kt)("inlineCode",{parentName:"td"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"td"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"td"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"td"},"itemIndex"),": ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"td"},"Element"))))),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/index.ts#L13"},"index.ts:13")),(0,r.kt)("h2",{id:"functions"},"Functions"),(0,r.kt)("h3",{id:"controlledtreeenvironment"},"ControlledTreeEnvironment"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"ControlledTreeEnvironment"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">","(",(0,r.kt)("inlineCode",{parentName:"p"},"p"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-parameters-3"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h4",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"p")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/ControlledTreeEnvironmentProps"},(0,r.kt)("inlineCode",{parentName:"a"},"ControlledTreeEnvironmentProps")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">"," & { ",(0,r.kt)("inlineCode",{parentName:"td"},"ref?"),": ",(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeEnvironmentRef"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentRef")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">",">"," }")))),(0,r.kt)("h4",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/controlledEnvironment/ControlledTreeEnvironment.tsx#L56"},"controlledEnvironment/ControlledTreeEnvironment.tsx:56")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"tree"},"Tree"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"Tree"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","(",(0,r.kt)("inlineCode",{parentName:"p"},"p"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-parameters-4"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h4",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"p")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeProps")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"td"},"never"),">"," & { ",(0,r.kt)("inlineCode",{parentName:"td"},"ref?"),": ",(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeRef"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRef")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">",">"," }")))),(0,r.kt)("h4",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/tree/Tree.tsx#L89"},"tree/Tree.tsx:89")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"uncontrolledtreeenvironment"},"UncontrolledTreeEnvironment"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"UncontrolledTreeEnvironment"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">","(",(0,r.kt)("inlineCode",{parentName:"p"},"p"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-parameters-5"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h4",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"p")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps"},(0,r.kt)("inlineCode",{parentName:"a"},"UncontrolledTreeEnvironmentProps")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">"," & { ",(0,r.kt)("inlineCode",{parentName:"td"},"ref?"),": ",(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeEnvironmentRef"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentRef")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">",">"," }")))),(0,r.kt)("h4",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/uncontrolledEnvironment/UncontrolledTreeEnvironment.tsx#L240"},"uncontrolledEnvironment/UncontrolledTreeEnvironment.tsx:240")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"createdefaultrenderers"},"createDefaultRenderers"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"createDefaultRenderers"),"(",(0,r.kt)("inlineCode",{parentName:"p"},"renderDepthOffset"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"rtl?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Required"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">",">"),(0,r.kt)("h4",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"renderDepthOffset")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"rtl?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h4",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Required"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">",">"),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/renderers/createDefaultRenderers.tsx#L7"},"renderers/createDefaultRenderers.tsx:7")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"usecontrolledtreeenvironmentprops"},"useControlledTreeEnvironmentProps"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"useControlledTreeEnvironmentProps"),"(",(0,r.kt)("inlineCode",{parentName:"p"},"__namedParameters"),"): ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"__namedParameters")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/ControlledTreeEnvironmentProps"},(0,r.kt)("inlineCode",{parentName:"a"},"ControlledTreeEnvironmentProps")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"td"},"never"),">")))),(0,r.kt)("h4",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/controlledEnvironment/useControlledTreeEnvironmentProps.ts#L14"},"controlledEnvironment/useControlledTreeEnvironmentProps.ts:14")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"usetree"},"useTree"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"useTree"),"(): ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeContextProps"))),(0,r.kt)("h4",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeContextProps"))),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/tree/Tree.tsx#L18"},"tree/Tree.tsx:18")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"usetreeenvironment"},"useTreeEnvironment"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"useTreeEnvironment"),"(): ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/controlledEnvironment/ControlledTreeEnvironment.tsx#L16"},"controlledEnvironment/ControlledTreeEnvironment.tsx:16")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"usetreeitemrendercontext"},"useTreeItemRenderContext"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"useTreeItemRenderContext"),"(",(0,r.kt)("inlineCode",{parentName:"p"},"item?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"undefined")," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h4",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"undefined")," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/treeItem/useTreeItemRenderContext.ts#L18"},"treeItem/useTreeItemRenderContext.ts:18")))}s.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>N});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},k=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=p(e,["components","mdxType","originalType","parentName"]),k=o(n),N=r,c=k["".concat(d,".").concat(N)]||k[N]||s[N]||i;return n?a.createElement(c,l(l({ref:t},m),{},{components:n})):a.createElement(c,l({ref:t},m))}));function N(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,l=new Array(i);l[0]=k;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var o=2;o{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>p,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"modules",title:"react-complex-tree",sidebar_label:"Exports",sidebar_position:.5,custom_edit_url:null},l=void 0,p={unversionedId:"api/modules",id:"api/modules",title:"react-complex-tree",description:"Enumerations",source:"@site/docs/api/modules.md",sourceDirName:"api",slug:"/api/modules",permalink:"/docs/api/modules",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:.5,frontMatter:{id:"modules",title:"react-complex-tree",sidebar_label:"Exports",sidebar_position:.5,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"Readme",permalink:"/docs/api/"},next:{title:"InteractionMode",permalink:"/docs/api/enums/InteractionMode"}},d={},o=[{value:"Enumerations",id:"enumerations",level:2},{value:"Classes",id:"classes",level:2},{value:"Interfaces",id:"interfaces",level:2},{value:"Type Aliases",id:"type-aliases",level:2},{value:"AllTreeRenderProps",id:"alltreerenderprops",level:3},{value:"Type parameters",id:"type-parameters",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"DataSource",id:"datasource",level:3},{value:"Type parameters",id:"type-parameters-1",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"Disposable",id:"disposable",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"DraggingPosition",id:"draggingposition",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"HoveringPosition",id:"hoveringposition",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"IndividualTreeViewState",id:"individualtreeviewstate",level:3},{value:"Type parameters",id:"type-parameters-2",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"TreeChangeActionsContextProps",id:"treechangeactionscontextprops",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"TreeEnvironmentActionsContextProps",id:"treeenvironmentactionscontextprops",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"TreeItemIndex",id:"treeitemindex",level:3},{value:"Defined in",id:"defined-in-8",level:4},{value:"Variables",id:"variables",level:2},{value:"INTERNALS",id:"internals",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"Functions",id:"functions",level:2},{value:"ControlledTreeEnvironment",id:"controlledtreeenvironment",level:3},{value:"Type parameters",id:"type-parameters-3",level:4},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"Tree",id:"tree",level:3},{value:"Type parameters",id:"type-parameters-4",level:4},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"UncontrolledTreeEnvironment",id:"uncontrolledtreeenvironment",level:3},{value:"Type parameters",id:"type-parameters-5",level:4},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"createDefaultRenderers",id:"createdefaultrenderers",level:3},{value:"Parameters",id:"parameters-3",level:4},{value:"Returns",id:"returns-3",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"useControlledTreeEnvironmentProps",id:"usecontrolledtreeenvironmentprops",level:3},{value:"Parameters",id:"parameters-4",level:4},{value:"Returns",id:"returns-4",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"useTree",id:"usetree",level:3},{value:"Returns",id:"returns-5",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"useTreeEnvironment",id:"usetreeenvironment",level:3},{value:"Returns",id:"returns-6",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"useTreeItemRenderContext",id:"usetreeitemrendercontext",level:3},{value:"Parameters",id:"parameters-5",level:4},{value:"Returns",id:"returns-7",level:4},{value:"Defined in",id:"defined-in-17",level:4}],m={toc:o};function s(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"enumerations"},"Enumerations"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/enums/InteractionMode"},"InteractionMode"))),(0,r.kt)("h2",{id:"classes"},"Classes"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/classes/StaticTreeDataProvider"},"StaticTreeDataProvider"))),(0,r.kt)("h2",{id:"interfaces"},"Interfaces"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/AbstractDraggingPosition"},"AbstractDraggingPosition")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/ControlledTreeEnvironmentProps"},"ControlledTreeEnvironmentProps")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/DragAndDropContextProps"},"DragAndDropContextProps")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/DraggingPositionBetweenItems"},"DraggingPositionBetweenItems")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/DraggingPositionItem"},"DraggingPositionItem")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/DraggingPositionRoot"},"DraggingPositionRoot")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/ExplicitDataSource"},"ExplicitDataSource")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/ImplicitDataSource"},"ImplicitDataSource")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/InteractionManager"},"InteractionManager")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/KeyboardBindings"},"KeyboardBindings")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/LinearItem"},"LinearItem")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/LiveDescriptors"},"LiveDescriptors")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeCapabilities"},"TreeCapabilities")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeChangeActions"},"TreeChangeActions")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeChangeHandlers"},"TreeChangeHandlers")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeConfiguration"},"TreeConfiguration")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeContextProps"},"TreeContextProps")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeDataProvider"},"TreeDataProvider")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},"TreeEnvironmentChangeActions")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},"TreeEnvironmentConfiguration")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeEnvironmentContextProps"},"TreeEnvironmentContextProps")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeEnvironmentRef"},"TreeEnvironmentRef")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeInformation"},"TreeInformation")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeItem"},"TreeItem")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeItemActions"},"TreeItemActions")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeItemRenderContext"},"TreeItemRenderContext")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeItemRenderFlags"},"TreeItemRenderFlags")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreePosition"},"TreePosition")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeProps"},"TreeProps")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeRef"},"TreeRef")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeRenderProps"},"TreeRenderProps")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/TreeViewState"},"TreeViewState")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps"},"UncontrolledTreeEnvironmentProps"))),(0,r.kt)("h2",{id:"type-aliases"},"Type Aliases"),(0,r.kt)("h3",{id:"alltreerenderprops"},"AllTreeRenderProps"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"AllTreeRenderProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">",": ",(0,r.kt)("inlineCode",{parentName:"p"},"Required"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">",">"),(0,r.kt)("h4",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L139"},"types.ts:139")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"datasource"},"DataSource"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"DataSource"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ExplicitDataSource"},(0,r.kt)("inlineCode",{parentName:"a"},"ExplicitDataSource")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/ImplicitDataSource"},(0,r.kt)("inlineCode",{parentName:"a"},"ImplicitDataSource")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"),(0,r.kt)("h4",{id:"type-parameters-1"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L218"},"types.ts:218")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disposable"},"Disposable"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"Disposable"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Object")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"dispose")),(0,r.kt)("td",{parentName:"tr",align:"left"},"() => ",(0,r.kt)("inlineCode",{parentName:"td"},"void"))))),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L454"},"types.ts:454")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"draggingposition"},"DraggingPosition"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"DraggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DraggingPositionItem"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPositionItem"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DraggingPositionBetweenItems"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPositionBetweenItems"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/DraggingPositionRoot"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPositionRoot"))),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L333"},"types.ts:333")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"hoveringposition"},"HoveringPosition"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"HoveringPosition"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Object")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"indentation")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"undefined"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"linearIndex")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"offset")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},'"bottom"')," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},'"top"')," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"undefined"))))),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L525"},"types.ts:525")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"individualtreeviewstate"},"IndividualTreeViewState"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"IndividualTreeViewState"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">",": { ",(0,r.kt)("inlineCode",{parentName:"p"},"expandedItems?"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[] ; ",(0,r.kt)("inlineCode",{parentName:"p"},"focusedItem?"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"selectedItems?"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[] } & { ","[c in C]",": TreeItemIndex ","|"," TreeItemIndex[] ","|"," undefined }"),(0,r.kt)("h4",{id:"type-parameters-2"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L200"},"types.ts:200")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treechangeactionscontextprops"},"TreeChangeActionsContextProps"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"TreeChangeActionsContextProps"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeChangeActions"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeChangeActions"))),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L432"},"types.ts:432")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeenvironmentactionscontextprops"},"TreeEnvironmentActionsContextProps"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"TreeEnvironmentActionsContextProps"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentChangeActions"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentChangeActions"))),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L272"},"types.ts:272")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeitemindex"},"TreeItemIndex"),(0,r.kt)("p",null,"\u01ac ",(0,r.kt)("strong",{parentName:"p"},"TreeItemIndex"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L8"},"types.ts:8")),(0,r.kt)("h2",{id:"variables"},"Variables"),(0,r.kt)("h3",{id:"internals"},"INTERNALS"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Const")," ",(0,r.kt)("strong",{parentName:"p"},"INTERNALS"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Object")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"TreeItemChildren")),(0,r.kt)("td",{parentName:"tr",align:"left"},"(",(0,r.kt)("inlineCode",{parentName:"td"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"td"},"children"),": ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[] ; ",(0,r.kt)("inlineCode",{parentName:"td"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"td"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"td"},"parentId"),": ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"td"},"Element"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"TreeItemElement")),(0,r.kt)("td",{parentName:"tr",align:"left"},"(",(0,r.kt)("inlineCode",{parentName:"td"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"td"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"td"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"td"},"itemIndex"),": ",(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"td"},"Element"))))),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/index.ts#L13"},"index.ts:13")),(0,r.kt)("h2",{id:"functions"},"Functions"),(0,r.kt)("h3",{id:"controlledtreeenvironment"},"ControlledTreeEnvironment"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"ControlledTreeEnvironment"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">","(",(0,r.kt)("inlineCode",{parentName:"p"},"p"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-parameters-3"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h4",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"p")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/ControlledTreeEnvironmentProps"},(0,r.kt)("inlineCode",{parentName:"a"},"ControlledTreeEnvironmentProps")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">"," & { ",(0,r.kt)("inlineCode",{parentName:"td"},"ref?"),": ",(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeEnvironmentRef"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentRef")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">",">"," }")))),(0,r.kt)("h4",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/controlledEnvironment/ControlledTreeEnvironment.tsx#L56"},"controlledEnvironment/ControlledTreeEnvironment.tsx:56")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"tree"},"Tree"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"Tree"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","(",(0,r.kt)("inlineCode",{parentName:"p"},"p"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-parameters-4"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))))),(0,r.kt)("h4",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"p")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeProps")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"td"},"never"),">"," & { ",(0,r.kt)("inlineCode",{parentName:"td"},"ref?"),": ",(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeRef"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRef")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">",">"," }")))),(0,r.kt)("h4",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/tree/Tree.tsx#L89"},"tree/Tree.tsx:89")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"uncontrolledtreeenvironment"},"UncontrolledTreeEnvironment"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"UncontrolledTreeEnvironment"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">","(",(0,r.kt)("inlineCode",{parentName:"p"},"p"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-parameters-5"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h4",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"p")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps"},(0,r.kt)("inlineCode",{parentName:"a"},"UncontrolledTreeEnvironmentProps")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">"," & { ",(0,r.kt)("inlineCode",{parentName:"td"},"ref?"),": ",(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeEnvironmentRef"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentRef")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">",">"," }")))),(0,r.kt)("h4",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/uncontrolledEnvironment/UncontrolledTreeEnvironment.tsx#L240"},"uncontrolledEnvironment/UncontrolledTreeEnvironment.tsx:240")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"createdefaultrenderers"},"createDefaultRenderers"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"createDefaultRenderers"),"(",(0,r.kt)("inlineCode",{parentName:"p"},"renderDepthOffset"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"rtl?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"Required"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">",">"),(0,r.kt)("h4",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"renderDepthOffset")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"rtl?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h4",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"Required"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">",">"),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/renderers/createDefaultRenderers.tsx#L7"},"renderers/createDefaultRenderers.tsx:7")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"usecontrolledtreeenvironmentprops"},"useControlledTreeEnvironmentProps"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"useControlledTreeEnvironmentProps"),"(",(0,r.kt)("inlineCode",{parentName:"p"},"__namedParameters"),"): ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"__namedParameters")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/ControlledTreeEnvironmentProps"},(0,r.kt)("inlineCode",{parentName:"a"},"ControlledTreeEnvironmentProps")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"td"},"never"),">")))),(0,r.kt)("h4",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/controlledEnvironment/useControlledTreeEnvironmentProps.ts#L14"},"controlledEnvironment/useControlledTreeEnvironmentProps.ts:14")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"usetree"},"useTree"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"useTree"),"(): ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeContextProps"))),(0,r.kt)("h4",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeContextProps"))),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/tree/Tree.tsx#L18"},"tree/Tree.tsx:18")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"usetreeenvironment"},"useTreeEnvironment"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"useTreeEnvironment"),"(): ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentContextProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentContextProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/controlledEnvironment/ControlledTreeEnvironment.tsx#L16"},"controlledEnvironment/ControlledTreeEnvironment.tsx:16")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"usetreeitemrendercontext"},"useTreeItemRenderContext"),(0,r.kt)("p",null,"\u25b8 ",(0,r.kt)("strong",{parentName:"p"},"useTreeItemRenderContext"),"(",(0,r.kt)("inlineCode",{parentName:"p"},"item?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"undefined")," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h4",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"undefined")," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/treeItem/useTreeItemRenderContext.ts#L18"},"treeItem/useTreeItemRenderContext.ts:18")))}s.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>N});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},k=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=p(e,["components","mdxType","originalType","parentName"]),k=o(n),N=r,c=k["".concat(d,".").concat(N)]||k[N]||s[N]||i;return n?a.createElement(c,l(l({ref:t},m),{},{components:n})):a.createElement(c,l({ref:t},m))}));function N(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,l=new Array(i);l[0]=k;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var o=2;o{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var n=r(7896),i=(r(2784),r(876));const a={id:"TreePosition",title:"Interface: TreePosition",sidebar_label:"TreePosition",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"api/interfaces/TreePosition",id:"api/interfaces/TreePosition",title:"Interface: TreePosition",description:"Properties",source:"@site/docs/api/interfaces/TreePosition.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreePosition",permalink:"/docs/api/interfaces/TreePosition",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreePosition",title:"Interface: TreePosition",sidebar_label:"TreePosition",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeItemRenderFlags",permalink:"/docs/api/interfaces/TreeItemRenderFlags"},next:{title:"TreeProps",permalink:"/docs/api/interfaces/TreeProps"}},p={},s=[{value:"Properties",id:"properties",level:2},{value:"index",id:"index",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"parent",id:"parent",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"treeId",id:"treeid",level:3},{value:"Defined in",id:"defined-in-2",level:4}],c={toc:s};function d(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"index"},"index"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"index"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"defined-in"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L23"},"types.ts:23")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"parent"},"parent"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"parent"),": ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,i.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,i.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L22"},"types.ts:22")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"treeid"},"treeId"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"treeId"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L21"},"types.ts:21")))}d.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>f});var n=r(2784);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var p=n.createContext({}),s=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=s(e.components);return n.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,p=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),u=s(r),f=i,m=u["".concat(p,".").concat(f)]||u[f]||d[f]||a;return r?n.createElement(m,o(o({ref:t},c),{},{components:r})):n.createElement(m,o({ref:t},c))}));function f(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=u;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:i,o[1]=l;for(var s=2;s{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var n=r(7896),i=(r(2784),r(876));const a={id:"TreePosition",title:"Interface: TreePosition",sidebar_label:"TreePosition",sidebar_position:0,custom_edit_url:null},o=void 0,l={unversionedId:"api/interfaces/TreePosition",id:"api/interfaces/TreePosition",title:"Interface: TreePosition",description:"Properties",source:"@site/docs/api/interfaces/TreePosition.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreePosition",permalink:"/docs/api/interfaces/TreePosition",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreePosition",title:"Interface: TreePosition",sidebar_label:"TreePosition",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeItemRenderFlags",permalink:"/docs/api/interfaces/TreeItemRenderFlags"},next:{title:"TreeProps",permalink:"/docs/api/interfaces/TreeProps"}},p={},s=[{value:"Properties",id:"properties",level:2},{value:"index",id:"index",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"parent",id:"parent",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"treeId",id:"treeid",level:3},{value:"Defined in",id:"defined-in-2",level:4}],c={toc:s};function d(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"properties"},"Properties"),(0,i.kt)("h3",{id:"index"},"index"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"index"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"number")),(0,i.kt)("h4",{id:"defined-in"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L23"},"types.ts:23")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"parent"},"parent"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"parent"),": ",(0,i.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,i.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))),(0,i.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L22"},"types.ts:22")),(0,i.kt)("hr",null),(0,i.kt)("h3",{id:"treeid"},"treeId"),(0,i.kt)("p",null,"\u2022 ",(0,i.kt)("strong",{parentName:"p"},"treeId"),": ",(0,i.kt)("inlineCode",{parentName:"p"},"string")),(0,i.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,i.kt)("p",null,(0,i.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L21"},"types.ts:21")))}d.isMDXComponent=!0},876:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>f});var n=r(2784);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var p=n.createContext({}),s=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=s(e.components);return n.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,p=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),u=s(r),f=i,m=u["".concat(p,".").concat(f)]||u[f]||d[f]||a;return r?n.createElement(m,o(o({ref:t},c),{},{components:r})):n.createElement(m,o({ref:t},c))}));function f(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=u;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:i,o[1]=l;for(var s=2;s{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>k,frontMatter:()=>i,metadata:()=>p,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"TreeEnvironmentContextProps",title:"Interface: TreeEnvironmentContextProps",sidebar_label:"TreeEnvironmentContextProps",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeEnvironmentContextProps",id:"api/interfaces/TreeEnvironmentContextProps",title:"Interface: TreeEnvironmentContextProps",description:"Type parameters",source:"@site/docs/api/interfaces/TreeEnvironmentContextProps.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeEnvironmentContextProps",permalink:"/docs/api/interfaces/TreeEnvironmentContextProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeEnvironmentContextProps",title:"Interface: TreeEnvironmentContextProps",sidebar_label:"TreeEnvironmentContextProps",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeEnvironmentConfiguration",permalink:"/docs/api/interfaces/TreeEnvironmentConfiguration"},next:{title:"TreeEnvironmentRef",permalink:"/docs/api/interfaces/TreeEnvironmentRef"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"activeTreeId",id:"activetreeid",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"autoFocus",id:"autofocus",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"canDrag",id:"candrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"canDragAndDrop",id:"candraganddrop",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"canDropAt",id:"candropat",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"canDropBelowOpenFolders",id:"candropbelowopenfolders",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"canDropOnFolder",id:"candroponfolder",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"canDropOnNonFolder",id:"candroponnonfolder",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"canInvokePrimaryActionOnItemContainer",id:"caninvokeprimaryactiononitemcontainer",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"canRename",id:"canrename",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"canReorderItems",id:"canreorderitems",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"canSearch",id:"cansearch",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"canSearchByStartingTyping",id:"cansearchbystartingtyping",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"defaultInteractionMode",id:"defaultinteractionmode",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"disableArrowKeys",id:"disablearrowkeys",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"doesSearchMatchItem",id:"doessearchmatchitem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"getItemTitle",id:"getitemtitle",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"items",id:"items",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"keyboardBindings",id:"keyboardbindings",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"linearItems",id:"linearitems",level:3},{value:"Defined in",id:"defined-in-19",level:4},{value:"liveDescriptors",id:"livedescriptors",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"onAbortRenamingItem",id:"onabortrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"onCollapseItem",id:"oncollapseitem",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"onDrop",id:"ondrop",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"onExpandItem",id:"onexpanditem",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"onFocusItem",id:"onfocusitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"onMissingChildren",id:"onmissingchildren",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"onMissingItems",id:"onmissingitems",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"onPrimaryAction",id:"onprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-11",level:5},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"onRegisterTree",id:"onregistertree",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-12",level:5},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"onRenameItem",id:"onrenameitem",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Parameters",id:"parameters-13",level:5},{value:"Returns",id:"returns-13",level:5},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"onSelectItems",id:"onselectitems",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-14",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"onStartRenamingItem",id:"onstartrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-15",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"onUnregisterTree",id:"onunregistertree",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Parameters",id:"parameters-16",level:5},{value:"Returns",id:"returns-16",level:5},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"registerTree",id:"registertree",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Parameters",id:"parameters-17",level:5},{value:"Returns",id:"returns-17",level:5},{value:"Defined in",id:"defined-in-34",level:4},{value:"renderDepthOffset",id:"renderdepthoffset",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"renderDragBetweenLine",id:"renderdragbetweenline",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-18",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"renderItem",id:"renderitem",level:3},{value:"Type declaration",id:"type-declaration-19",level:4},{value:"Parameters",id:"parameters-19",level:5},{value:"Returns",id:"returns-19",level:5},{value:"Inherited from",id:"inherited-from-34",level:4},{value:"Defined in",id:"defined-in-37",level:4},{value:"renderItemArrow",id:"renderitemarrow",level:3},{value:"Type declaration",id:"type-declaration-20",level:4},{value:"Parameters",id:"parameters-20",level:5},{value:"Returns",id:"returns-20",level:5},{value:"Inherited from",id:"inherited-from-35",level:4},{value:"Defined in",id:"defined-in-38",level:4},{value:"renderItemTitle",id:"renderitemtitle",level:3},{value:"Type declaration",id:"type-declaration-21",level:4},{value:"Parameters",id:"parameters-21",level:5},{value:"Returns",id:"returns-21",level:5},{value:"Inherited from",id:"inherited-from-36",level:4},{value:"Defined in",id:"defined-in-39",level:4},{value:"renderItemsContainer",id:"renderitemscontainer",level:3},{value:"Type declaration",id:"type-declaration-22",level:4},{value:"Parameters",id:"parameters-22",level:5},{value:"Returns",id:"returns-22",level:5},{value:"Inherited from",id:"inherited-from-37",level:4},{value:"Defined in",id:"defined-in-40",level:4},{value:"renderLiveDescriptorContainer",id:"renderlivedescriptorcontainer",level:3},{value:"Type declaration",id:"type-declaration-23",level:4},{value:"Parameters",id:"parameters-23",level:5},{value:"Returns",id:"returns-23",level:5},{value:"Inherited from",id:"inherited-from-38",level:4},{value:"Defined in",id:"defined-in-41",level:4},{value:"renderRenameInput",id:"renderrenameinput",level:3},{value:"Type declaration",id:"type-declaration-24",level:4},{value:"Parameters",id:"parameters-24",level:5},{value:"Returns",id:"returns-24",level:5},{value:"Inherited from",id:"inherited-from-39",level:4},{value:"Defined in",id:"defined-in-42",level:4},{value:"renderSearchInput",id:"rendersearchinput",level:3},{value:"Type declaration",id:"type-declaration-25",level:4},{value:"Parameters",id:"parameters-25",level:5},{value:"Returns",id:"returns-25",level:5},{value:"Inherited from",id:"inherited-from-40",level:4},{value:"Defined in",id:"defined-in-43",level:4},{value:"renderTreeContainer",id:"rendertreecontainer",level:3},{value:"Type declaration",id:"type-declaration-26",level:4},{value:"Parameters",id:"parameters-26",level:5},{value:"Returns",id:"returns-26",level:5},{value:"Inherited from",id:"inherited-from-41",level:4},{value:"Defined in",id:"defined-in-44",level:4},{value:"setActiveTree",id:"setactivetree",level:3},{value:"Type declaration",id:"type-declaration-27",level:4},{value:"Parameters",id:"parameters-27",level:5},{value:"Returns",id:"returns-27",level:5},{value:"Defined in",id:"defined-in-45",level:4},{value:"shouldRenderChildren",id:"shouldrenderchildren",level:3},{value:"Type declaration",id:"type-declaration-28",level:4},{value:"Parameters",id:"parameters-28",level:5},{value:"Returns",id:"returns-28",level:5},{value:"Inherited from",id:"inherited-from-42",level:4},{value:"Defined in",id:"defined-in-46",level:4},{value:"showLiveDescription",id:"showlivedescription",level:3},{value:"Inherited from",id:"inherited-from-43",level:4},{value:"Defined in",id:"defined-in-47",level:4},{value:"treeIds",id:"treeids",level:3},{value:"Defined in",id:"defined-in-48",level:4},{value:"trees",id:"trees",level:3},{value:"Defined in",id:"defined-in-49",level:4},{value:"unregisterTree",id:"unregistertree",level:3},{value:"Type declaration",id:"type-declaration-29",level:4},{value:"Parameters",id:"parameters-29",level:5},{value:"Returns",id:"returns-29",level:5},{value:"Defined in",id:"defined-in-50",level:4},{value:"viewState",id:"viewstate",level:3},{value:"Inherited from",id:"inherited-from-44",level:4},{value:"Defined in",id:"defined-in-51",level:4}],m={toc:o};function k(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("inlineCode",{parentName:"p"},"Omit"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentConfiguration")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", keyof ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),">")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#alltreerenderprops"},(0,r.kt)("inlineCode",{parentName:"a"},"AllTreeRenderProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeEnvironmentContextProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"activetreeid"},"activeTreeId"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"activeTreeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L300"},"types.ts:300")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"autofocus"},"autoFocus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"autoFocus"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,"Omit.autoFocus"),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L174"},"types.ts:174")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candrag"},"canDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDrag"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDrag"),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L168"},"types.ts:168")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candraganddrop"},"canDragAndDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDragAndDrop"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDragAndDrop"),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L164"},"types.ts:164")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropat"},"canDropAt"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropAt"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropAt"),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L169"},"types.ts:169")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropbelowopenfolders"},"canDropBelowOpenFolders"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropBelowOpenFolders"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("p",null,"See Issue #148 or the sample at\n",(0,r.kt)("a",{parentName:"p",href:"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"},"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"),"\nfor details."),(0,r.kt)("p",null,"If enabled, dropping at the bottom of an open folder will drop the items\nin the parent folder below the hovered item instead of inside the folder\nat the top."),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropBelowOpenFolders"),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L195"},"types.ts:195")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponfolder"},"canDropOnFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropOnFolder"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L165"},"types.ts:165")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponnonfolder"},"canDropOnNonFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnNonFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropOnNonFolder"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L166"},"types.ts:166")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canInvokePrimaryActionOnItemContainer"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,"Omit.canInvokePrimaryActionOnItemContainer"),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L170"},"types.ts:170")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canrename"},"canRename"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canRename"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,"Omit.canRename"),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L173"},"types.ts:173")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canreorderitems"},"canReorderItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canReorderItems"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,"Omit.canReorderItems"),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L167"},"types.ts:167")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearch"},"canSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,"Omit.canSearch"),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L171"},"types.ts:171")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearchbystartingtyping"},"canSearchByStartingTyping"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearchByStartingTyping"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,"Omit.canSearchByStartingTyping"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L172"},"types.ts:172")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"defaultinteractionmode"},"defaultInteractionMode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"defaultInteractionMode"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/enums/InteractionMode"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionMode"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/InteractionManager"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionManager")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,"Omit.defaultInteractionMode"),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L163"},"types.ts:163")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disablearrowkeys"},"disableArrowKeys"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"disableArrowKeys"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,"Omit.disableArrowKeys"),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L197"},"types.ts:197")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"doessearchmatchitem"},"doesSearchMatchItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"doesSearchMatchItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemTitle")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,r.kt)("p",null,"Omit.doesSearchMatchItem"),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L175"},"types.ts:175")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"getitemtitle"},"getItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"getItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,r.kt)("p",null,"Omit.getItemTitle"),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L292"},"types.ts:292")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"items"},"items"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"items"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,r.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,r.kt)("p",null,"Omit.items"),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L211"},"types.ts:211")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"keyboardbindings"},"keyboardBindings"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"keyboardBindings"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/KeyboardBindings"},(0,r.kt)("inlineCode",{parentName:"a"},"KeyboardBindings"))),(0,r.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,r.kt)("p",null,"Omit.keyboardBindings"),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L290"},"types.ts:290")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"linearitems"},"linearItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"linearItems"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/LinearItem"},(0,r.kt)("inlineCode",{parentName:"a"},"LinearItem")),"[]",">"),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L310"},"types.ts:310")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"livedescriptors"},"liveDescriptors"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"liveDescriptors"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/LiveDescriptors"},(0,r.kt)("inlineCode",{parentName:"a"},"LiveDescriptors"))),(0,r.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,r.kt)("p",null,"Omit.liveDescriptors"),(0,r.kt)("h4",{id:"defined-in-20"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L291"},"types.ts:291")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onabortrenamingitem"},"onAbortRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onAbortRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,r.kt)("p",null,"Omit.onAbortRenamingItem"),(0,r.kt)("h4",{id:"defined-in-21"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L223"},"types.ts:223")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"oncollapseitem"},"onCollapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onCollapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,r.kt)("p",null,"Omit.onCollapseItem"),(0,r.kt)("h4",{id:"defined-in-22"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L224"},"types.ts:224")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondrop"},"onDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onDrop"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,r.kt)("p",null,"Omit.onDrop"),(0,r.kt)("h4",{id:"defined-in-23"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L232"},"types.ts:232")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onexpanditem"},"onExpandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onExpandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,r.kt)("p",null,"Omit.onExpandItem"),(0,r.kt)("h4",{id:"defined-in-24"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L225"},"types.ts:225")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onfocusitem"},"onFocusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onFocusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,r.kt)("p",null,"Omit.onFocusItem"),(0,r.kt)("h4",{id:"defined-in-25"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L227"},"types.ts:227")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingchildren"},"onMissingChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,r.kt)("p",null,"Omit.onMissingChildren"),(0,r.kt)("h4",{id:"defined-in-26"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L237"},"types.ts:237")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingitems"},"onMissingItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,r.kt)("p",null,"Omit.onMissingItems"),(0,r.kt)("h4",{id:"defined-in-27"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L236"},"types.ts:236")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onprimaryaction"},"onPrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onPrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,r.kt)("p",null,"Omit.onPrimaryAction"),(0,r.kt)("h4",{id:"defined-in-28"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L233"},"types.ts:233")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onregistertree"},"onRegisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRegisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-12"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,r.kt)("p",null,"Omit.onRegisterTree"),(0,r.kt)("h4",{id:"defined-in-29"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L234"},"types.ts:234")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onrenameitem"},"onRenameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRenameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-13"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,r.kt)("p",null,"Omit.onRenameItem"),(0,r.kt)("h4",{id:"defined-in-30"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L222"},"types.ts:222")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onselectitems"},"onSelectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onSelectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-14"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,r.kt)("p",null,"Omit.onSelectItems"),(0,r.kt)("h4",{id:"defined-in-31"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L226"},"types.ts:226")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onstartrenamingitem"},"onStartRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onStartRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-15"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,r.kt)("p",null,"Omit.onStartRenamingItem"),(0,r.kt)("h4",{id:"defined-in-32"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L221"},"types.ts:221")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onunregistertree"},"onUnregisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onUnregisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-16"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,r.kt)("p",null,"Omit.onUnregisterTree"),(0,r.kt)("h4",{id:"defined-in-33"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L235"},"types.ts:235")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"registertree"},"registerTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"registerTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-17"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-34"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L298"},"types.ts:298")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdepthoffset"},"renderDepthOffset"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderDepthOffset"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderDepthOffset"),(0,r.kt)("h4",{id:"defined-in-35"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L136"},"types.ts:136")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdragbetweenline"},"renderDragBetweenLine"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderDragBetweenLine"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"lineProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-18"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.draggingPosition")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.lineProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderDragBetweenLine"),(0,r.kt)("h4",{id:"defined-in-36"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L122"},"types.ts:122")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitem"},"renderItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"arrow"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-19"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-19"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.arrow")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))))),(0,r.kt)("h5",{id:"returns-19"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderItem"),(0,r.kt)("h4",{id:"defined-in-37"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L76"},"types.ts:76")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemarrow"},"renderItemArrow"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderItemArrow"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-20"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-20"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-20"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-35"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderItemArrow"),(0,r.kt)("h4",{id:"defined-in-38"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L93"},"types.ts:93")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemtitle"},"renderItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-21"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-21"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-21"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-36"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderItemTitle"),(0,r.kt)("h4",{id:"defined-in-39"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L86"},"types.ts:86")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemscontainer"},"renderItemsContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderItemsContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"parentId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-22"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-22"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.parentId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-22"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-37"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderItemsContainer"),(0,r.kt)("h4",{id:"defined-in-40"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L108"},"types.ts:108")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderlivedescriptorcontainer"},"renderLiveDescriptorContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderLiveDescriptorContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-23"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-23"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-23"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-38"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderLiveDescriptorContainer"),(0,r.kt)("h4",{id:"defined-in-41"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L131"},"types.ts:131")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderrenameinput"},"renderRenameInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderRenameInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"formProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLFormElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-24"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-24"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.formProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLFormElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-24"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-39"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderRenameInput"),(0,r.kt)("h4",{id:"defined-in-42"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L99"},"types.ts:99")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendersearchinput"},"renderSearchInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderSearchInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-25"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-25"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")))),(0,r.kt)("h5",{id:"returns-25"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-40"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderSearchInput"),(0,r.kt)("h4",{id:"defined-in-43"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L127"},"types.ts:127")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendertreecontainer"},"renderTreeContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderTreeContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-26"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-26"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))))),(0,r.kt)("h5",{id:"returns-26"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-41"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderTreeContainer"),(0,r.kt)("h4",{id:"defined-in-44"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L116"},"types.ts:116")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"setactivetree"},"setActiveTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"setActiveTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeIdOrSetStateFunction"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," (",(0,r.kt)("inlineCode",{parentName:"p"},"prevState"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-27"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeIdOrSetStateFunction"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-27"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeIdOrSetStateFunction")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," ","|"," (",(0,r.kt)("inlineCode",{parentName:"td"},"prevState"),": ",(0,r.kt)("inlineCode",{parentName:"td"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"td"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"autoFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-27"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-45"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L301"},"types.ts:301")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"shouldrenderchildren"},"shouldRenderChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"shouldRenderChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-28"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-28"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"never"),">")))),(0,r.kt)("h5",{id:"returns-28"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-42"},"Inherited from"),(0,r.kt)("p",null,"Omit.shouldRenderChildren"),(0,r.kt)("h4",{id:"defined-in-46"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L181"},"types.ts:181")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"showlivedescription"},"showLiveDescription"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"showLiveDescription"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-43"},"Inherited from"),(0,r.kt)("p",null,"Omit.showLiveDescription"),(0,r.kt)("h4",{id:"defined-in-47"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L180"},"types.ts:180")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeids"},"treeIds"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeIds"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-48"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L308"},"types.ts:308")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"trees"},"trees"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"trees"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),">"),(0,r.kt)("h4",{id:"defined-in-49"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L309"},"types.ts:309")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"unregistertree"},"unregisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"unregisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-29"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-29"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-29"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-50"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L299"},"types.ts:299")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"viewstate"},"viewState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"viewState"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeViewState"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeViewState")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"inherited-from-44"},"Inherited from"),(0,r.kt)("p",null,"Omit.viewState"),(0,r.kt)("h4",{id:"defined-in-51"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/d62ed43/packages/core/src/types.ts#L289"},"types.ts:289")))}k.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>N});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=p(e,["components","mdxType","originalType","parentName"]),s=o(n),N=r,c=s["".concat(d,".").concat(N)]||s[N]||k[N]||i;return n?a.createElement(c,l(l({ref:t},m),{},{components:n})):a.createElement(c,l({ref:t},m))}));function N(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,l=new Array(i);l[0]=s;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var o=2;o{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>k,frontMatter:()=>i,metadata:()=>p,toc:()=>o});var a=n(7896),r=(n(2784),n(876));const i={id:"TreeEnvironmentContextProps",title:"Interface: TreeEnvironmentContextProps",sidebar_label:"TreeEnvironmentContextProps",sidebar_position:0,custom_edit_url:null},l=void 0,p={unversionedId:"api/interfaces/TreeEnvironmentContextProps",id:"api/interfaces/TreeEnvironmentContextProps",title:"Interface: TreeEnvironmentContextProps",description:"Type parameters",source:"@site/docs/api/interfaces/TreeEnvironmentContextProps.md",sourceDirName:"api/interfaces",slug:"/api/interfaces/TreeEnvironmentContextProps",permalink:"/docs/api/interfaces/TreeEnvironmentContextProps",draft:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TreeEnvironmentContextProps",title:"Interface: TreeEnvironmentContextProps",sidebar_label:"TreeEnvironmentContextProps",sidebar_position:0,custom_edit_url:null},sidebar:"tutorialSidebar",previous:{title:"TreeEnvironmentConfiguration",permalink:"/docs/api/interfaces/TreeEnvironmentConfiguration"},next:{title:"TreeEnvironmentRef",permalink:"/docs/api/interfaces/TreeEnvironmentRef"}},d={},o=[{value:"Type parameters",id:"type-parameters",level:2},{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"activeTreeId",id:"activetreeid",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"autoFocus",id:"autofocus",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"canDrag",id:"candrag",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Parameters",id:"parameters",level:5},{value:"Returns",id:"returns",level:5},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"canDragAndDrop",id:"candraganddrop",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"canDropAt",id:"candropat",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Parameters",id:"parameters-1",level:5},{value:"Returns",id:"returns-1",level:5},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-4",level:4},{value:"canDropBelowOpenFolders",id:"candropbelowopenfolders",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"canDropOnFolder",id:"candroponfolder",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"canDropOnNonFolder",id:"candroponnonfolder",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"Defined in",id:"defined-in-7",level:4},{value:"canInvokePrimaryActionOnItemContainer",id:"caninvokeprimaryactiononitemcontainer",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"Defined in",id:"defined-in-8",level:4},{value:"canRename",id:"canrename",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"Defined in",id:"defined-in-9",level:4},{value:"canReorderItems",id:"canreorderitems",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"Defined in",id:"defined-in-10",level:4},{value:"canSearch",id:"cansearch",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"Defined in",id:"defined-in-11",level:4},{value:"canSearchByStartingTyping",id:"cansearchbystartingtyping",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"Defined in",id:"defined-in-12",level:4},{value:"defaultInteractionMode",id:"defaultinteractionmode",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"Defined in",id:"defined-in-13",level:4},{value:"disableArrowKeys",id:"disablearrowkeys",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"Defined in",id:"defined-in-14",level:4},{value:"doesSearchMatchItem",id:"doessearchmatchitem",level:3},{value:"Type declaration",id:"type-declaration-2",level:4},{value:"Parameters",id:"parameters-2",level:5},{value:"Returns",id:"returns-2",level:5},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"Defined in",id:"defined-in-15",level:4},{value:"getItemTitle",id:"getitemtitle",level:3},{value:"Type declaration",id:"type-declaration-3",level:4},{value:"Parameters",id:"parameters-3",level:5},{value:"Returns",id:"returns-3",level:5},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"Defined in",id:"defined-in-16",level:4},{value:"items",id:"items",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"Defined in",id:"defined-in-17",level:4},{value:"keyboardBindings",id:"keyboardbindings",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"Defined in",id:"defined-in-18",level:4},{value:"linearItems",id:"linearitems",level:3},{value:"Defined in",id:"defined-in-19",level:4},{value:"liveDescriptors",id:"livedescriptors",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"Defined in",id:"defined-in-20",level:4},{value:"onAbortRenamingItem",id:"onabortrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-4",level:4},{value:"Parameters",id:"parameters-4",level:5},{value:"Returns",id:"returns-4",level:5},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"Defined in",id:"defined-in-21",level:4},{value:"onCollapseItem",id:"oncollapseitem",level:3},{value:"Type declaration",id:"type-declaration-5",level:4},{value:"Parameters",id:"parameters-5",level:5},{value:"Returns",id:"returns-5",level:5},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"Defined in",id:"defined-in-22",level:4},{value:"onDrop",id:"ondrop",level:3},{value:"Type declaration",id:"type-declaration-6",level:4},{value:"Parameters",id:"parameters-6",level:5},{value:"Returns",id:"returns-6",level:5},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"Defined in",id:"defined-in-23",level:4},{value:"onExpandItem",id:"onexpanditem",level:3},{value:"Type declaration",id:"type-declaration-7",level:4},{value:"Parameters",id:"parameters-7",level:5},{value:"Returns",id:"returns-7",level:5},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"Defined in",id:"defined-in-24",level:4},{value:"onFocusItem",id:"onfocusitem",level:3},{value:"Type declaration",id:"type-declaration-8",level:4},{value:"Parameters",id:"parameters-8",level:5},{value:"Returns",id:"returns-8",level:5},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"Defined in",id:"defined-in-25",level:4},{value:"onMissingChildren",id:"onmissingchildren",level:3},{value:"Type declaration",id:"type-declaration-9",level:4},{value:"Parameters",id:"parameters-9",level:5},{value:"Returns",id:"returns-9",level:5},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"Defined in",id:"defined-in-26",level:4},{value:"onMissingItems",id:"onmissingitems",level:3},{value:"Type declaration",id:"type-declaration-10",level:4},{value:"Parameters",id:"parameters-10",level:5},{value:"Returns",id:"returns-10",level:5},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"Defined in",id:"defined-in-27",level:4},{value:"onPrimaryAction",id:"onprimaryaction",level:3},{value:"Type declaration",id:"type-declaration-11",level:4},{value:"Parameters",id:"parameters-11",level:5},{value:"Returns",id:"returns-11",level:5},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"Defined in",id:"defined-in-28",level:4},{value:"onRegisterTree",id:"onregistertree",level:3},{value:"Type declaration",id:"type-declaration-12",level:4},{value:"Parameters",id:"parameters-12",level:5},{value:"Returns",id:"returns-12",level:5},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"Defined in",id:"defined-in-29",level:4},{value:"onRenameItem",id:"onrenameitem",level:3},{value:"Type declaration",id:"type-declaration-13",level:4},{value:"Parameters",id:"parameters-13",level:5},{value:"Returns",id:"returns-13",level:5},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"Defined in",id:"defined-in-30",level:4},{value:"onSelectItems",id:"onselectitems",level:3},{value:"Type declaration",id:"type-declaration-14",level:4},{value:"Parameters",id:"parameters-14",level:5},{value:"Returns",id:"returns-14",level:5},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"Defined in",id:"defined-in-31",level:4},{value:"onStartRenamingItem",id:"onstartrenamingitem",level:3},{value:"Type declaration",id:"type-declaration-15",level:4},{value:"Parameters",id:"parameters-15",level:5},{value:"Returns",id:"returns-15",level:5},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"Defined in",id:"defined-in-32",level:4},{value:"onUnregisterTree",id:"onunregistertree",level:3},{value:"Type declaration",id:"type-declaration-16",level:4},{value:"Parameters",id:"parameters-16",level:5},{value:"Returns",id:"returns-16",level:5},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"Defined in",id:"defined-in-33",level:4},{value:"registerTree",id:"registertree",level:3},{value:"Type declaration",id:"type-declaration-17",level:4},{value:"Parameters",id:"parameters-17",level:5},{value:"Returns",id:"returns-17",level:5},{value:"Defined in",id:"defined-in-34",level:4},{value:"renderDepthOffset",id:"renderdepthoffset",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"Defined in",id:"defined-in-35",level:4},{value:"renderDragBetweenLine",id:"renderdragbetweenline",level:3},{value:"Type declaration",id:"type-declaration-18",level:4},{value:"Parameters",id:"parameters-18",level:5},{value:"Returns",id:"returns-18",level:5},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"Defined in",id:"defined-in-36",level:4},{value:"renderItem",id:"renderitem",level:3},{value:"Type declaration",id:"type-declaration-19",level:4},{value:"Parameters",id:"parameters-19",level:5},{value:"Returns",id:"returns-19",level:5},{value:"Inherited from",id:"inherited-from-34",level:4},{value:"Defined in",id:"defined-in-37",level:4},{value:"renderItemArrow",id:"renderitemarrow",level:3},{value:"Type declaration",id:"type-declaration-20",level:4},{value:"Parameters",id:"parameters-20",level:5},{value:"Returns",id:"returns-20",level:5},{value:"Inherited from",id:"inherited-from-35",level:4},{value:"Defined in",id:"defined-in-38",level:4},{value:"renderItemTitle",id:"renderitemtitle",level:3},{value:"Type declaration",id:"type-declaration-21",level:4},{value:"Parameters",id:"parameters-21",level:5},{value:"Returns",id:"returns-21",level:5},{value:"Inherited from",id:"inherited-from-36",level:4},{value:"Defined in",id:"defined-in-39",level:4},{value:"renderItemsContainer",id:"renderitemscontainer",level:3},{value:"Type declaration",id:"type-declaration-22",level:4},{value:"Parameters",id:"parameters-22",level:5},{value:"Returns",id:"returns-22",level:5},{value:"Inherited from",id:"inherited-from-37",level:4},{value:"Defined in",id:"defined-in-40",level:4},{value:"renderLiveDescriptorContainer",id:"renderlivedescriptorcontainer",level:3},{value:"Type declaration",id:"type-declaration-23",level:4},{value:"Parameters",id:"parameters-23",level:5},{value:"Returns",id:"returns-23",level:5},{value:"Inherited from",id:"inherited-from-38",level:4},{value:"Defined in",id:"defined-in-41",level:4},{value:"renderRenameInput",id:"renderrenameinput",level:3},{value:"Type declaration",id:"type-declaration-24",level:4},{value:"Parameters",id:"parameters-24",level:5},{value:"Returns",id:"returns-24",level:5},{value:"Inherited from",id:"inherited-from-39",level:4},{value:"Defined in",id:"defined-in-42",level:4},{value:"renderSearchInput",id:"rendersearchinput",level:3},{value:"Type declaration",id:"type-declaration-25",level:4},{value:"Parameters",id:"parameters-25",level:5},{value:"Returns",id:"returns-25",level:5},{value:"Inherited from",id:"inherited-from-40",level:4},{value:"Defined in",id:"defined-in-43",level:4},{value:"renderTreeContainer",id:"rendertreecontainer",level:3},{value:"Type declaration",id:"type-declaration-26",level:4},{value:"Parameters",id:"parameters-26",level:5},{value:"Returns",id:"returns-26",level:5},{value:"Inherited from",id:"inherited-from-41",level:4},{value:"Defined in",id:"defined-in-44",level:4},{value:"setActiveTree",id:"setactivetree",level:3},{value:"Type declaration",id:"type-declaration-27",level:4},{value:"Parameters",id:"parameters-27",level:5},{value:"Returns",id:"returns-27",level:5},{value:"Defined in",id:"defined-in-45",level:4},{value:"shouldRenderChildren",id:"shouldrenderchildren",level:3},{value:"Type declaration",id:"type-declaration-28",level:4},{value:"Parameters",id:"parameters-28",level:5},{value:"Returns",id:"returns-28",level:5},{value:"Inherited from",id:"inherited-from-42",level:4},{value:"Defined in",id:"defined-in-46",level:4},{value:"showLiveDescription",id:"showlivedescription",level:3},{value:"Inherited from",id:"inherited-from-43",level:4},{value:"Defined in",id:"defined-in-47",level:4},{value:"treeIds",id:"treeids",level:3},{value:"Defined in",id:"defined-in-48",level:4},{value:"trees",id:"trees",level:3},{value:"Defined in",id:"defined-in-49",level:4},{value:"unregisterTree",id:"unregistertree",level:3},{value:"Type declaration",id:"type-declaration-29",level:4},{value:"Parameters",id:"parameters-29",level:5},{value:"Returns",id:"returns-29",level:5},{value:"Defined in",id:"defined-in-50",level:4},{value:"viewState",id:"viewstate",level:3},{value:"Inherited from",id:"inherited-from-44",level:4},{value:"Defined in",id:"defined-in-51",level:4}],m={toc:o};function k(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h2",{id:"type-parameters"},"Type parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"T")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"any"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"C")),(0,r.kt)("td",{parentName:"tr",align:"left"},"extends ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," = ",(0,r.kt)("inlineCode",{parentName:"td"},"never"))))),(0,r.kt)("h2",{id:"hierarchy"},"Hierarchy"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("inlineCode",{parentName:"p"},"Omit"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeEnvironmentConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeEnvironmentConfiguration")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", keyof ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeRenderProps"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeRenderProps")),">")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#alltreerenderprops"},(0,r.kt)("inlineCode",{parentName:"a"},"AllTreeRenderProps")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"),(0,r.kt)("p",{parentName:"li"},"\u21b3 ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"TreeEnvironmentContextProps"))))),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("h3",{id:"activetreeid"},"activeTreeId"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"activeTreeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"defined-in"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L300"},"types.ts:300")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"autofocus"},"autoFocus"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"autoFocus"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from"},"Inherited from"),(0,r.kt)("p",null,"Omit.autoFocus"),(0,r.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L174"},"types.ts:174")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candrag"},"canDrag"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDrag"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")))),(0,r.kt)("h5",{id:"returns"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-1"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDrag"),(0,r.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L168"},"types.ts:168")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candraganddrop"},"canDragAndDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDragAndDrop"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-2"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDragAndDrop"),(0,r.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L164"},"types.ts:164")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropat"},"canDropAt"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropAt"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-1"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-1"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-1"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-3"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropAt"),(0,r.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L169"},"types.ts:169")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candropbelowopenfolders"},"canDropBelowOpenFolders"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropBelowOpenFolders"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("p",null,"See Issue #148 or the sample at\n",(0,r.kt)("a",{parentName:"p",href:"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"},"https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--single-tree?path=/story/core-drag-and-drop-configurability--can-drop-below-open-folders"),"\nfor details."),(0,r.kt)("p",null,"If enabled, dropping at the bottom of an open folder will drop the items\nin the parent folder below the hovered item instead of inside the folder\nat the top."),(0,r.kt)("h4",{id:"inherited-from-4"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropBelowOpenFolders"),(0,r.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L195"},"types.ts:195")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponfolder"},"canDropOnFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-5"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropOnFolder"),(0,r.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L165"},"types.ts:165")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"candroponnonfolder"},"canDropOnNonFolder"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canDropOnNonFolder"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-6"},"Inherited from"),(0,r.kt)("p",null,"Omit.canDropOnNonFolder"),(0,r.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L166"},"types.ts:166")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"caninvokeprimaryactiononitemcontainer"},"canInvokePrimaryActionOnItemContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canInvokePrimaryActionOnItemContainer"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-7"},"Inherited from"),(0,r.kt)("p",null,"Omit.canInvokePrimaryActionOnItemContainer"),(0,r.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L170"},"types.ts:170")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canrename"},"canRename"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canRename"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-8"},"Inherited from"),(0,r.kt)("p",null,"Omit.canRename"),(0,r.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L173"},"types.ts:173")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"canreorderitems"},"canReorderItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canReorderItems"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-9"},"Inherited from"),(0,r.kt)("p",null,"Omit.canReorderItems"),(0,r.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L167"},"types.ts:167")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearch"},"canSearch"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearch"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-10"},"Inherited from"),(0,r.kt)("p",null,"Omit.canSearch"),(0,r.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L171"},"types.ts:171")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"cansearchbystartingtyping"},"canSearchByStartingTyping"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"canSearchByStartingTyping"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-11"},"Inherited from"),(0,r.kt)("p",null,"Omit.canSearchByStartingTyping"),(0,r.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L172"},"types.ts:172")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"defaultinteractionmode"},"defaultInteractionMode"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"defaultInteractionMode"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/enums/InteractionMode"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionMode"))," ","|"," ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/InteractionManager"},(0,r.kt)("inlineCode",{parentName:"a"},"InteractionManager")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"inherited-from-12"},"Inherited from"),(0,r.kt)("p",null,"Omit.defaultInteractionMode"),(0,r.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L163"},"types.ts:163")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"disablearrowkeys"},"disableArrowKeys"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"disableArrowKeys"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-13"},"Inherited from"),(0,r.kt)("p",null,"Omit.disableArrowKeys"),(0,r.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L197"},"types.ts:197")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"doessearchmatchitem"},"doesSearchMatchItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"doesSearchMatchItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-2"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"search"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"itemTitle"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-2"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"search")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemTitle")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-2"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-14"},"Inherited from"),(0,r.kt)("p",null,"Omit.doesSearchMatchItem"),(0,r.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L175"},"types.ts:175")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"getitemtitle"},"getItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"getItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"type-declaration-3"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h5",{id:"parameters-3"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-3"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"string")),(0,r.kt)("h4",{id:"inherited-from-15"},"Inherited from"),(0,r.kt)("p",null,"Omit.getItemTitle"),(0,r.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L292"},"types.ts:292")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"items"},"items"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"items"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),", ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",">"),(0,r.kt)("h4",{id:"inherited-from-16"},"Inherited from"),(0,r.kt)("p",null,"Omit.items"),(0,r.kt)("h4",{id:"defined-in-17"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L211"},"types.ts:211")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"keyboardbindings"},"keyboardBindings"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"keyboardBindings"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/KeyboardBindings"},(0,r.kt)("inlineCode",{parentName:"a"},"KeyboardBindings"))),(0,r.kt)("h4",{id:"inherited-from-17"},"Inherited from"),(0,r.kt)("p",null,"Omit.keyboardBindings"),(0,r.kt)("h4",{id:"defined-in-18"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L290"},"types.ts:290")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"linearitems"},"linearItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"linearItems"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/LinearItem"},(0,r.kt)("inlineCode",{parentName:"a"},"LinearItem")),"[]",">"),(0,r.kt)("h4",{id:"defined-in-19"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L310"},"types.ts:310")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"livedescriptors"},"liveDescriptors"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"liveDescriptors"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/LiveDescriptors"},(0,r.kt)("inlineCode",{parentName:"a"},"LiveDescriptors"))),(0,r.kt)("h4",{id:"inherited-from-18"},"Inherited from"),(0,r.kt)("p",null,"Omit.liveDescriptors"),(0,r.kt)("h4",{id:"defined-in-20"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L291"},"types.ts:291")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onabortrenamingitem"},"onAbortRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onAbortRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-4"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-4"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-4"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-19"},"Inherited from"),(0,r.kt)("p",null,"Omit.onAbortRenamingItem"),(0,r.kt)("h4",{id:"defined-in-21"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L223"},"types.ts:223")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"oncollapseitem"},"onCollapseItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onCollapseItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-5"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-5"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-5"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-20"},"Inherited from"),(0,r.kt)("p",null,"Omit.onCollapseItem"),(0,r.kt)("h4",{id:"defined-in-22"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L224"},"types.ts:224")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"ondrop"},"onDrop"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onDrop"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">","[], ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-6"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"target"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-6"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">","[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"target")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))))),(0,r.kt)("h5",{id:"returns-6"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-21"},"Inherited from"),(0,r.kt)("p",null,"Omit.onDrop"),(0,r.kt)("h4",{id:"defined-in-23"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L232"},"types.ts:232")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onexpanditem"},"onExpandItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onExpandItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-7"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-7"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-7"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-22"},"Inherited from"),(0,r.kt)("p",null,"Omit.onExpandItem"),(0,r.kt)("h4",{id:"defined-in-24"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L225"},"types.ts:225")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onfocusitem"},"onFocusItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onFocusItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-8"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"setDomFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-8"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"setDomFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-8"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-23"},"Inherited from"),(0,r.kt)("p",null,"Omit.onFocusItem"),(0,r.kt)("h4",{id:"defined-in-25"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L227"},"types.ts:227")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingchildren"},"onMissingChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-9"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-9"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-9"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-24"},"Inherited from"),(0,r.kt)("p",null,"Omit.onMissingChildren"),(0,r.kt)("h4",{id:"defined-in-26"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L237"},"types.ts:237")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onmissingitems"},"onMissingItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onMissingItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]) => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-10"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"itemIds"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-10"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"itemIds")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")))),(0,r.kt)("h5",{id:"returns-10"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-25"},"Inherited from"),(0,r.kt)("p",null,"Omit.onMissingItems"),(0,r.kt)("h4",{id:"defined-in-27"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L236"},"types.ts:236")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onprimaryaction"},"onPrimaryAction"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onPrimaryAction"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-11"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-11"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-11"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-26"},"Inherited from"),(0,r.kt)("p",null,"Omit.onPrimaryAction"),(0,r.kt)("h4",{id:"defined-in-28"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L233"},"types.ts:233")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onregistertree"},"onRegisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRegisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-12"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-12"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-12"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-27"},"Inherited from"),(0,r.kt)("p",null,"Omit.onRegisterTree"),(0,r.kt)("h4",{id:"defined-in-29"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L234"},"types.ts:234")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onrenameitem"},"onRenameItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onRenameItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-13"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"name"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-13"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"name")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-13"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-28"},"Inherited from"),(0,r.kt)("p",null,"Omit.onRenameItem"),(0,r.kt)("h4",{id:"defined-in-30"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L222"},"types.ts:222")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onselectitems"},"onSelectItems"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onSelectItems"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[], ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-14"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"items"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-14"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"items")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")),"[]")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-14"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-29"},"Inherited from"),(0,r.kt)("p",null,"Omit.onSelectItems"),(0,r.kt)("h4",{id:"defined-in-31"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L226"},"types.ts:226")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onstartrenamingitem"},"onStartRenamingItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onStartRenamingItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-15"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-15"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-15"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-30"},"Inherited from"),(0,r.kt)("p",null,"Omit.onStartRenamingItem"),(0,r.kt)("h4",{id:"defined-in-32"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L221"},"types.ts:221")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"onunregistertree"},"onUnregisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"onUnregisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-16"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-16"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-16"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"inherited-from-31"},"Inherited from"),(0,r.kt)("p",null,"Omit.onUnregisterTree"),(0,r.kt)("h4",{id:"defined-in-33"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L235"},"types.ts:235")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"registertree"},"registerTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"registerTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-17"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-17"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-17"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-34"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L298"},"types.ts:298")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdepthoffset"},"renderDepthOffset"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderDepthOffset"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")),(0,r.kt)("h4",{id:"inherited-from-32"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderDepthOffset"),(0,r.kt)("h4",{id:"defined-in-35"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L136"},"types.ts:136")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderdragbetweenline"},"renderDragBetweenLine"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderDragBetweenLine"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"draggingPosition"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"lineProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-18"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-18"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.draggingPosition")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#draggingposition"},(0,r.kt)("inlineCode",{parentName:"a"},"DraggingPosition")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.lineProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-18"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-33"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderDragBetweenLine"),(0,r.kt)("h4",{id:"defined-in-36"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L122"},"types.ts:122")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitem"},"renderItem"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderItem"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"arrow"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-19"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-19"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.arrow")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))))),(0,r.kt)("h5",{id:"returns-19"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-34"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderItem"),(0,r.kt)("h4",{id:"defined-in-37"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L76"},"types.ts:76")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemarrow"},"renderItemArrow"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderItemArrow"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-20"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-20"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")))),(0,r.kt)("h5",{id:"returns-20"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-35"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderItemArrow"),(0,r.kt)("h4",{id:"defined-in-38"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L93"},"types.ts:93")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemtitle"},"renderItemTitle"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderItemTitle"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"C"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"title"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-21"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-21"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"C"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.title")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-21"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-36"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderItemTitle"),(0,r.kt)("h4",{id:"defined-in-39"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L86"},"types.ts:86")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderitemscontainer"},"renderItemsContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderItemsContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"depth"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"number")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"parentId"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-22"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-22"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.depth")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"number"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.parentId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/modules#treeitemindex"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemIndex")))))),(0,r.kt)("h5",{id:"returns-22"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-37"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderItemsContainer"),(0,r.kt)("h4",{id:"defined-in-40"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L108"},"types.ts:108")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderlivedescriptorcontainer"},"renderLiveDescriptorContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderLiveDescriptorContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"tree"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-23"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-23"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.tree")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")))))),(0,r.kt)("h5",{id:"returns-23"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-38"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderLiveDescriptorContainer"),(0,r.kt)("h4",{id:"defined-in-41"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L131"},"types.ts:131")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"renderrenameinput"},"renderRenameInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderRenameInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"formProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLFormElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"inputRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"submitButtonRef"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-24"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-24"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.formProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"FormHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLFormElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"InputHTMLAttributes"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.submitButtonRef")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Ref"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")))),(0,r.kt)("h5",{id:"returns-24"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-39"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderRenameInput"),(0,r.kt)("h4",{id:"defined-in-42"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L99"},"types.ts:99")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendersearchinput"},"renderSearchInput"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderSearchInput"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"inputProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLInputElement"),">"," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-25"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-25"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.inputProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"HTMLInputElement"),">")))),(0,r.kt)("h5",{id:"returns-25"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-40"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderSearchInput"),(0,r.kt)("h4",{id:"defined-in-43"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L127"},"types.ts:127")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"rendertreecontainer"},"renderTreeContainer"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"renderTreeContainer"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),": { ",(0,r.kt)("inlineCode",{parentName:"p"},"children"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactNode")," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"containerProps"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">"," ; ",(0,r.kt)("inlineCode",{parentName:"p"},"info"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation"))," }) => ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"type-declaration-26"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"props"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h5",{id:"parameters-26"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"Object"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.children")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"ReactNode"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.containerProps")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"HTMLProps"),"<",(0,r.kt)("inlineCode",{parentName:"td"},"any"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"props.info")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeInformation"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeInformation")))))),(0,r.kt)("h5",{id:"returns-26"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"null")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"ReactElement"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"JSXElementConstructor"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"any"),">",">"),(0,r.kt)("h4",{id:"inherited-from-41"},"Inherited from"),(0,r.kt)("p",null,"AllTreeRenderProps.renderTreeContainer"),(0,r.kt)("h4",{id:"defined-in-44"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L116"},"types.ts:116")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"setactivetree"},"setActiveTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"setActiveTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeIdOrSetStateFunction"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string")," ","|"," (",(0,r.kt)("inlineCode",{parentName:"p"},"prevState"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-27"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeIdOrSetStateFunction"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"autoFocus?"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-27"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeIdOrSetStateFunction")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"string")," ","|"," (",(0,r.kt)("inlineCode",{parentName:"td"},"prevState"),": ",(0,r.kt)("inlineCode",{parentName:"td"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"td"},"undefined")," ","|"," ",(0,r.kt)("inlineCode",{parentName:"td"},"string"))),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"autoFocus?")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"boolean"))))),(0,r.kt)("h5",{id:"returns-27"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-45"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L301"},"types.ts:301")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"shouldrenderchildren"},"shouldRenderChildren"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"shouldRenderChildren"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"T"),">",", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">",") => ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"type-declaration-28"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"item"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"context"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h5",{id:"parameters-28"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"item")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItem"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItem")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"T"),">")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"context")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("a",{parentName:"td",href:"/docs/api/interfaces/TreeItemRenderContext"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeItemRenderContext")),"<",(0,r.kt)("inlineCode",{parentName:"td"},"never"),">")))),(0,r.kt)("h5",{id:"returns-28"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-42"},"Inherited from"),(0,r.kt)("p",null,"Omit.shouldRenderChildren"),(0,r.kt)("h4",{id:"defined-in-46"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L181"},"types.ts:181")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"showlivedescription"},"showLiveDescription"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("inlineCode",{parentName:"p"},"Optional")," ",(0,r.kt)("strong",{parentName:"p"},"showLiveDescription"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"boolean")),(0,r.kt)("h4",{id:"inherited-from-43"},"Inherited from"),(0,r.kt)("p",null,"Omit.showLiveDescription"),(0,r.kt)("h4",{id:"defined-in-47"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L180"},"types.ts:180")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"treeids"},"treeIds"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"treeIds"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),"[]"),(0,r.kt)("h4",{id:"defined-in-48"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L308"},"types.ts:308")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"trees"},"trees"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"trees"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"Record"),"<",(0,r.kt)("inlineCode",{parentName:"p"},"string"),", ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeConfiguration"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeConfiguration")),">"),(0,r.kt)("h4",{id:"defined-in-49"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L309"},"types.ts:309")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"unregistertree"},"unregisterTree"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"unregisterTree"),": (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),": ",(0,r.kt)("inlineCode",{parentName:"p"},"string"),") => ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"type-declaration-29"},"Type declaration"),(0,r.kt)("p",null,"\u25b8 (",(0,r.kt)("inlineCode",{parentName:"p"},"treeId"),"): ",(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h5",{id:"parameters-29"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"left"},"Name"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Type"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"treeId")),(0,r.kt)("td",{parentName:"tr",align:"left"},(0,r.kt)("inlineCode",{parentName:"td"},"string"))))),(0,r.kt)("h5",{id:"returns-29"},"Returns"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"void")),(0,r.kt)("h4",{id:"defined-in-50"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L299"},"types.ts:299")),(0,r.kt)("hr",null),(0,r.kt)("h3",{id:"viewstate"},"viewState"),(0,r.kt)("p",null,"\u2022 ",(0,r.kt)("strong",{parentName:"p"},"viewState"),": ",(0,r.kt)("a",{parentName:"p",href:"/docs/api/interfaces/TreeViewState"},(0,r.kt)("inlineCode",{parentName:"a"},"TreeViewState")),"<",(0,r.kt)("inlineCode",{parentName:"p"},"never"),">"),(0,r.kt)("h4",{id:"inherited-from-44"},"Inherited from"),(0,r.kt)("p",null,"Omit.viewState"),(0,r.kt)("h4",{id:"defined-in-51"},"Defined in"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://github.com/lukasbach/react-complex-tree/blob/c98329d/packages/core/src/types.ts#L289"},"types.ts:289")))}k.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>N});var a=n(2784);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),o=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},m=function(e){var t=o(e.components);return a.createElement(d.Provider,{value:t},e.children)},k={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,d=e.parentName,m=p(e,["components","mdxType","originalType","parentName"]),s=o(n),N=r,c=s["".concat(d,".").concat(N)]||s[N]||k[N]||i;return n?a.createElement(c,l(l({ref:t},m),{},{components:n})):a.createElement(c,l({ref:t},m))}));function N(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,l=new Array(i);l[0]=s;var p={};for(var d in t)hasOwnProperty.call(t,d)&&(p[d]=t[d]);p.originalType=e,p.mdxType="string"==typeof e?e:r,l[1]=p;for(var o=2;o{"use strict";n.d(t,{_:()=>a,t:()=>o});var r=n(2784);const a=r.createContext(!1);function o(e){let{children:t}=e;const[n,o]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{o(!0)}),[]),r.createElement(a.Provider,{value:n},t)}},6690:(e,t,n)=>{"use strict";var r=n(2784),a=n(8316),o=n(7933),i=n(2175),l=n(2153);const s=[n(3569),n(8273),n(7392),n(7331),n(5071)];var u=n(2063),c=n(7267),d=n(9702);function p(e){let{children:t}=e;return r.createElement(r.Fragment,null,t)}var f=n(7896),m=n(8428),g=n(5837),h=n(4198),b=n(6371),v=n(5982),y=n(8345),w=n(2851),k=n(2217),S=n(957);function E(){const{i18n:{defaultLocale:e,localeConfigs:t}}=(0,g.Z)(),n=(0,y.l)();return r.createElement(m.Z,null,Object.entries(t).map((e=>{let[t,{htmlLang:a}]=e;return r.createElement("link",{key:t,rel:"alternate",href:n.createUrl({locale:t,fullyQualified:!0}),hrefLang:a})})),r.createElement("link",{rel:"alternate",href:n.createUrl({locale:e,fullyQualified:!0}),hrefLang:"x-default"}))}function x(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,g.Z)(),a=function(){const{siteConfig:{url:e}}=(0,g.Z)(),{pathname:t}=(0,c.TH)();return e+(0,h.Z)(t)}(),o=t?`${n}${t}`:a;return r.createElement(m.Z,null,r.createElement("meta",{property:"og:url",content:o}),r.createElement("link",{rel:"canonical",href:o}))}function T(){const{i18n:{currentLocale:e}}=(0,g.Z)(),{metadata:t,image:n}=(0,b.L)();return r.createElement(r.Fragment,null,r.createElement(m.Z,null,r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("body",{className:w.h})),n&&r.createElement(v.d,{image:n}),r.createElement(x,null),r.createElement(E,null),r.createElement(S.Z,{tag:k.HX,locale:e}),r.createElement(m.Z,null,t.map(((e,t)=>r.createElement("meta",(0,f.Z)({key:t},e))))))}const C=new Map;function _(e){if(C.has(e.pathname))return{...e,pathname:C.get(e.pathname)};if((0,d.f)(u.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return C.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return C.set(e.pathname,t),{...e,pathname:t}}var P=n(7644),A=n(9914);function R(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{var r;const a=(null==(r=t.default)?void 0:r[e])??t[e];return null==a?void 0:a(...n)}));return()=>a.forEach((e=>null==e?void 0:e()))}const L=function(e){let{children:t,location:n,previousLocation:a}=e;return(0,r.useLayoutEffect)((()=>{a!==n&&(a&&function(e){const{hash:t}=e;if(t){const e=decodeURIComponent(t.substring(1)),n=document.getElementById(e);null==n||n.scrollIntoView()}else window.scrollTo(0,0)}(n),R("onRouteDidUpdate",{previousLocation:a,location:n}))}),[a,n]),t};function N(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(u.Z,e))).flat();return Promise.all(t.map((e=>null==e.route.component.preload?void 0:e.route.component.preload())))}class D extends r.Component{constructor(e){super(e),this.previousLocation=void 0,this.routeUpdateCleanupCb=void 0,this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?R("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=R("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),N(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return r.createElement(L,{previousLocation:this.previousLocation,location:t},r.createElement(c.AW,{location:t,render:()=>e}))}}const I=D,O="docusaurus-base-url-issue-banner-container",M="docusaurus-base-url-issue-banner-suggestion-container",F="__DOCUSAURUS_INSERT_BASEURL_BANNER";function B(e){return`\nwindow['${F}'] = true;\n\ndocument.addEventListener('DOMContentLoaded', maybeInsertBanner);\n\nfunction maybeInsertBanner() {\n var shouldInsert = window['${F}'];\n shouldInsert && insertBanner();\n}\n\nfunction insertBanner() {\n var bannerContainer = document.getElementById('${O}');\n if (!bannerContainer) {\n return;\n }\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}

\n

We suggest trying baseUrl =

\n
\n`}(e)).replace(/{window[F]=!1}),[]),r.createElement(r.Fragment,null,!l.Z.canUseDOM&&r.createElement(m.Z,null,r.createElement("script",null,B(e))),r.createElement("div",{id:O}))}function j(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,g.Z)(),{pathname:n}=(0,c.TH)();return t&&n===e?r.createElement(z,null):null}function U(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:a,localeConfigs:o}}=(0,g.Z)(),i=(0,h.Z)(e),{htmlLang:l,direction:s}=o[a];return r.createElement(m.Z,null,r.createElement("html",{lang:l,dir:s}),r.createElement("title",null,t),r.createElement("meta",{property:"og:title",content:t}),r.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&r.createElement("meta",{name:"robots",content:"noindex, nofollow"}),e&&r.createElement("link",{rel:"icon",href:i}))}var $=n(9060);function H(){const e=(0,d.H)(u.Z),t=(0,c.TH)();return r.createElement($.Z,null,r.createElement(A.M,null,r.createElement(P.t,null,r.createElement(p,null,r.createElement(U,null),r.createElement(T,null),r.createElement(j,null),r.createElement(I,{location:_(t)},e)))))}var q=n(6887);const G=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{var r;if("undefined"==typeof document)return void n();const a=document.createElement("link");a.setAttribute("rel","prefetch"),a.setAttribute("href",e),a.onload=()=>t(),a.onerror=()=>n();const o=document.getElementsByTagName("head")[0]??(null==(r=document.getElementsByName("script")[0])?void 0:r.parentNode);null==o||o.appendChild(a)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var Z=n(7911);const V=new Set,W=new Set,Y=()=>{var e,t;return(null==(e=navigator.connection)?void 0:e.effectiveType.includes("2g"))||(null==(t=navigator.connection)?void 0:t.saveData)},K={prefetch(e){if(!(e=>!Y()&&!W.has(e)&&!V.has(e))(e))return!1;V.add(e);const t=(0,d.f)(u.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(q).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,Z.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?G(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!Y()&&!W.has(e))(e)&&(W.add(e),N(e))},Q=Object.freeze(K);if(l.Z.canUseDOM){window.docusaurus=Q;const e=a.hydrate;N(window.location.pathname).then((()=>{e(r.createElement(i.B6,null,r.createElement(o.VK,null,r.createElement(H,null))),document.getElementById("__docusaurus"))}))}},9914:(e,t,n)=>{"use strict";n.d(t,{_:()=>c,M:()=>d});var r=n(2784),a=n(6809);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"api/index","docs":[{"id":"api/classes/StaticTreeDataProvider","path":"/docs/api/classes/StaticTreeDataProvider","sidebar":"tutorialSidebar"},{"id":"api/enums/InteractionMode","path":"/docs/api/enums/InteractionMode","sidebar":"tutorialSidebar"},{"id":"api/index","path":"/docs/api/","sidebar":"tutorialSidebar"},{"id":"api/interfaces/AbstractDraggingPosition","path":"/docs/api/interfaces/AbstractDraggingPosition","sidebar":"tutorialSidebar"},{"id":"api/interfaces/ControlledTreeEnvironmentProps","path":"/docs/api/interfaces/ControlledTreeEnvironmentProps","sidebar":"tutorialSidebar"},{"id":"api/interfaces/DragAndDropContextProps","path":"/docs/api/interfaces/DragAndDropContextProps","sidebar":"tutorialSidebar"},{"id":"api/interfaces/DraggingPositionBetweenItems","path":"/docs/api/interfaces/DraggingPositionBetweenItems","sidebar":"tutorialSidebar"},{"id":"api/interfaces/DraggingPositionItem","path":"/docs/api/interfaces/DraggingPositionItem","sidebar":"tutorialSidebar"},{"id":"api/interfaces/DraggingPositionRoot","path":"/docs/api/interfaces/DraggingPositionRoot","sidebar":"tutorialSidebar"},{"id":"api/interfaces/ExplicitDataSource","path":"/docs/api/interfaces/ExplicitDataSource","sidebar":"tutorialSidebar"},{"id":"api/interfaces/ImplicitDataSource","path":"/docs/api/interfaces/ImplicitDataSource","sidebar":"tutorialSidebar"},{"id":"api/interfaces/InteractionManager","path":"/docs/api/interfaces/InteractionManager","sidebar":"tutorialSidebar"},{"id":"api/interfaces/KeyboardBindings","path":"/docs/api/interfaces/KeyboardBindings","sidebar":"tutorialSidebar"},{"id":"api/interfaces/LinearItem","path":"/docs/api/interfaces/LinearItem","sidebar":"tutorialSidebar"},{"id":"api/interfaces/LiveDescriptors","path":"/docs/api/interfaces/LiveDescriptors","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeCapabilities","path":"/docs/api/interfaces/TreeCapabilities","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeChangeActions","path":"/docs/api/interfaces/TreeChangeActions","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeChangeHandlers","path":"/docs/api/interfaces/TreeChangeHandlers","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeConfiguration","path":"/docs/api/interfaces/TreeConfiguration","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeContextProps","path":"/docs/api/interfaces/TreeContextProps","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeDataProvider","path":"/docs/api/interfaces/TreeDataProvider","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeEnvironmentChangeActions","path":"/docs/api/interfaces/TreeEnvironmentChangeActions","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeEnvironmentConfiguration","path":"/docs/api/interfaces/TreeEnvironmentConfiguration","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeEnvironmentContextProps","path":"/docs/api/interfaces/TreeEnvironmentContextProps","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeEnvironmentRef","path":"/docs/api/interfaces/TreeEnvironmentRef","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeInformation","path":"/docs/api/interfaces/TreeInformation","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeItem","path":"/docs/api/interfaces/TreeItem","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeItemActions","path":"/docs/api/interfaces/TreeItemActions","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeItemRenderContext","path":"/docs/api/interfaces/TreeItemRenderContext","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeItemRenderFlags","path":"/docs/api/interfaces/TreeItemRenderFlags","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreePosition","path":"/docs/api/interfaces/TreePosition","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeProps","path":"/docs/api/interfaces/TreeProps","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeRef","path":"/docs/api/interfaces/TreeRef","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeRenderProps","path":"/docs/api/interfaces/TreeRenderProps","sidebar":"tutorialSidebar"},{"id":"api/interfaces/TreeViewState","path":"/docs/api/interfaces/TreeViewState","sidebar":"tutorialSidebar"},{"id":"api/interfaces/UncontrolledTreeEnvironmentProps","path":"/docs/api/interfaces/UncontrolledTreeEnvironmentProps","sidebar":"tutorialSidebar"},{"id":"api/modules","path":"/docs/api/modules","sidebar":"tutorialSidebar"},{"id":"changelog","path":"/docs/changelog","sidebar":"tutorialSidebar"},{"id":"faq","path":"/docs/faq","sidebar":"tutorialSidebar"},{"id":"getstarted","path":"/docs/getstarted","sidebar":"tutorialSidebar"},{"id":"guides/accessibility","path":"/docs/guides/accessibility","sidebar":"tutorialSidebar"},{"id":"guides/autodemo","path":"/docs/guides/autodemo","sidebar":"tutorialSidebar"},{"id":"guides/blueprintjs","path":"/docs/guides/blueprintjs","sidebar":"tutorialSidebar"},{"id":"guides/controlled-environment","path":"/docs/guides/controlled-environment","sidebar":"tutorialSidebar"},{"id":"guides/custom-data-provider","path":"/docs/guides/custom-data-provider","sidebar":"tutorialSidebar"},{"id":"guides/drag-and-drop","path":"/docs/guides/drag-and-drop","sidebar":"tutorialSidebar"},{"id":"guides/interaction-modes","path":"/docs/guides/interaction-modes","sidebar":"tutorialSidebar"},{"id":"guides/keyboard","path":"/docs/guides/keyboard","sidebar":"tutorialSidebar"},{"id":"guides/multiple-trees","path":"/docs/guides/multiple-trees","sidebar":"tutorialSidebar"},{"id":"guides/refs","path":"/docs/guides/refs","sidebar":"tutorialSidebar"},{"id":"guides/renaming","path":"/docs/guides/renaming","sidebar":"tutorialSidebar"},{"id":"guides/rendering","path":"/docs/guides/rendering","sidebar":"tutorialSidebar"},{"id":"guides/search","path":"/docs/guides/search","sidebar":"tutorialSidebar"},{"id":"guides/static-data-provider","path":"/docs/guides/static-data-provider","sidebar":"tutorialSidebar"},{"id":"guides/styling","path":"/docs/guides/styling","sidebar":"tutorialSidebar"},{"id":"guides/uncontrolled-environment","path":"/docs/guides/uncontrolled-environment","sidebar":"tutorialSidebar"},{"id":"guides/viewstate","path":"/docs/guides/viewstate","sidebar":"tutorialSidebar"},{"id":"react/ControlledTreeEnvironment","path":"/docs/react/ControlledTreeEnvironment","sidebar":"tutorialSidebar"},{"id":"react/Tree","path":"/docs/react/Tree","sidebar":"tutorialSidebar"},{"id":"react/UncontrolledTreeEnvironment","path":"/docs/react/UncontrolledTreeEnvironment","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/docs/api/","label":"API"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(7529);const s=JSON.parse('{"docusaurusVersion":"2.2.0","siteVersion":"2.4.4","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"2.2.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"2.2.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"2.2.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"2.2.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"2.2.0"},"docusaurus-theme-live-codeblock":{"type":"package","name":"@docusaurus/theme-live-codeblock","version":"2.2.0"},"docusaurus-plugin-react-docgen-typescript":{"type":"package","name":"docusaurus-plugin-react-docgen-typescript","version":"1.0.2"},"docusaurus-plugin-typedoc":{"type":"package","name":"docusaurus-plugin-typedoc","version":"0.18.0"}}}'),u={siteConfig:a.default,siteMetadata:s,globalData:o,i18n:i,codeTranslations:l},c=r.createContext(u);function d(e){let{children:t}=e;return r.createElement(c.Provider,{value:u},t)}},9060:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(2784),a=n(2153),o=n(8428),i=n(1799);function l(e){let{error:t,tryAgain:n}=e;return r.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%",fontSize:"20px"}},r.createElement("h1",null,"This page crashed."),r.createElement("p",null,t.message),r.createElement("button",{type:"button",onClick:n},"Try again"))}function s(e){let{error:t,tryAgain:n}=e;return r.createElement(c,{fallback:()=>r.createElement(l,{error:t,tryAgain:n})},r.createElement(o.Z,null,r.createElement("title",null,"Page Error")),r.createElement(i.Z,null,r.createElement(l,{error:t,tryAgain:n})))}const u=e=>r.createElement(s,e);class c extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??u)(e)}return e??null}}},2153:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},8428:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(2784),a=n(2175);function o(e){return r.createElement(a.ql,e)}},2896:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(7896),a=n(2784),o=n(7933),i=n(6744),l=n(5837),s=n(8949),u=n(2153);const c=a.createContext({collectLink:()=>{}});var d=n(4198);function p(e,t){var n;let{isNavLink:p,to:f,href:m,activeClassName:g,isActive:h,"data-noBrokenLinkCheck":b,autoAddBaseUrl:v=!0,...y}=e;const{siteConfig:{trailingSlash:w,baseUrl:k}}=(0,l.Z)(),{withBaseUrl:S}=(0,d.C)(),E=(0,a.useContext)(c),x=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,(()=>x.current));const T=f||m;const C=(0,s.Z)(T),_=null==T?void 0:T.replace("pathname://","");let P=void 0!==_?(A=_,v&&(e=>e.startsWith("/"))(A)?S(A):A):void 0;var A;P&&C&&(P=(0,i.applyTrailingSlash)(P,{trailingSlash:w,baseUrl:k}));const R=(0,a.useRef)(!1),L=p?o.OL:o.rU,N=u.Z.canUseIntersectionObserver,D=(0,a.useRef)(),I=()=>{R.current||null==P||(window.docusaurus.preload(P),R.current=!0)};(0,a.useEffect)((()=>(!N&&C&&null!=P&&window.docusaurus.prefetch(P),()=>{N&&D.current&&D.current.disconnect()})),[D,P,N,C]);const O=(null==(n=P)?void 0:n.startsWith("#"))??!1,M=!P||!C||O;return M||b||E.collectLink(P),M?a.createElement("a",(0,r.Z)({ref:x,href:P},T&&!C&&{target:"_blank",rel:"noopener noreferrer"},y)):a.createElement(L,(0,r.Z)({},y,{onMouseEnter:I,onTouchStart:I,innerRef:e=>{x.current=e,N&&e&&C&&(D.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(D.current.unobserve(e),D.current.disconnect(),null!=P&&window.docusaurus.prefetch(P))}))})),D.current.observe(e))},to:P},p&&{isActive:h,activeClassName:g}))}const f=a.forwardRef(p)},8176:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=()=>null},8004:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s,I:()=>l});var r=n(2784);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=null==t?void 0:t[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var o=n(7529);function i(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return o[t??n]??n??t}function l(e,t){let{message:n,id:r}=e;return a(i({message:n,id:r}),t)}function s(e){let{children:t,id:n,values:o}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");const l=i({message:t,id:n});return r.createElement(r.Fragment,null,a(l,o))}},9240:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r="default"},8949:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>a,b:()=>r})},4198:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,Z:()=>i});var r=n(5837),a=n(8949);function o(){const{siteConfig:{baseUrl:e,url:t}}=(0,r.Z)();return{withBaseUrl:(n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:o=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,a.b)(n))return n;if(o)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+l:l}(t,e,n,r)}}function i(e,t){void 0===t&&(t={});const{withBaseUrl:n}=o();return n(e,t)}},5837:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(2784),a=n(9914);function o(){return(0,r.useContext)(a._)}},6930:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(2784),a=n(7644);function o(){return(0,r.useContext)(a._)}},7911:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});function r(e){const t={};return function e(n,r){Object.entries(n).forEach((n=>{let[a,o]=n;const i=r?`${r}.${a}`:a;var l;"object"==typeof(l=o)&&l&&Object.keys(l).length>0?e(o,i):t[i]=o}))}(e),t}},4789:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,z:()=>o});var r=n(2784);const a=r.createContext(null);function o(e){let{children:t,value:n}=e;const o=r.useContext(a),i=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...null==n?void 0:n.data};return{plugin:t.plugin,data:r}}({parent:o,value:n})),[o,n]);return r.createElement(a.Provider,{value:i},t)}},429:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>g,gA:()=>p,_r:()=>c,Jo:()=>h,zh:()=>d,yW:()=>m,gB:()=>f});var r=n(7267),a=n(5837),o=n(9240);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.Z)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=function(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),a=null==n?void 0:n.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const u={},c=()=>i("docusaurus-plugin-content-docs")??u,d=e=>function(e,t,n){void 0===t&&(t=o.m),void 0===n&&(n={});const r=i(e),a=null==r?void 0:r[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0});function p(e){void 0===e&&(e={});const t=c(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function f(e){return d(e).versions}function m(e){const t=d(e);return l(t)}function g(e){const t=d(e),{pathname:n}=(0,r.TH)();return s(t,n)}function h(e){const t=d(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=l(e);return{latestDocSuggestion:s(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},7392:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(2521),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},8273:(e,t,n)=>{"use strict";n.r(t);var r=n(7175),a=n(6809);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{n(4596)(`./prism-${e}`)})),delete globalThis.Prism}(r.Z)},7031:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(2784);const a="iconExternalLink_awgD";function o(e){let{width:t=13.5,height:n=13.5}=e;return r.createElement("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:a},r.createElement("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"}))}},1799:(e,t,n)=>{"use strict";n.d(t,{Z:()=>dt});var r=n(2784),a=n(6277),o=n(9060),i=n(5982),l=n(7896),s=n(7267),u=n(8004),c=n(2462);const d="docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,s.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,c.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const m=(0,u.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function g(e){const t=e.children??m,{containerRef:n,onClick:a}=f();return r.createElement("div",{ref:n,role:"region","aria-label":m},r.createElement("a",(0,l.Z)({},e,{href:`#${d}`,onClick:a}),t))}var h=n(5138),b=n(2851);const v="skipToContent_G6ar";function y(){return r.createElement(g,{className:v})}var w=n(6371),k=n(5830);function S(e){let{width:t=21,height:n=21,color:a="currentColor",strokeWidth:o=1.2,className:i,...s}=e;return r.createElement("svg",(0,l.Z)({viewBox:"0 0 15 15",width:t,height:n},s),r.createElement("g",{stroke:a,strokeWidth:o},r.createElement("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})))}const E="closeButton_rfix";function x(e){return r.createElement("button",(0,l.Z)({type:"button","aria-label":(0,u.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},e,{className:(0,a.Z)("clean-btn close",E,e.className)}),r.createElement(S,{width:14,height:14,strokeWidth:3.1}))}const T="content_L1uV";function C(e){const{announcementBar:t}=(0,w.L)(),{content:n}=t;return r.createElement("div",(0,l.Z)({},e,{className:(0,a.Z)(T,e.className),dangerouslySetInnerHTML:{__html:n}}))}const _="announcementBar_ncOr",P="announcementBarPlaceholder_ajMw",A="announcementBarClose_c9u4",R="announcementBarContent__57G";function L(){const{announcementBar:e}=(0,w.L)(),{isActive:t,close:n}=(0,k.nT)();if(!t)return null;const{backgroundColor:a,textColor:o,isCloseable:i}=e;return r.createElement("div",{className:_,style:{backgroundColor:a,color:o},role:"banner"},i&&r.createElement("div",{className:P}),r.createElement(C,{className:R}),i&&r.createElement(x,{onClick:n,className:A}))}var N=n(4890),D=n(6152);var I=n(1661),O=n(3970);const M=r.createContext(null);function F(e){let{children:t}=e;const n=function(){const e=(0,N.e)(),t=(0,O.HY)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,I.D9)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return r.createElement(M.Provider,{value:n},t)}function B(e){if(e.component){const t=e.component;return r.createElement(t,e.props)}}function z(){const e=(0,r.useContext)(M);if(!e)throw new I.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,O.HY)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:B(o)})),[a,o,t])}function j(e){let{header:t,primaryMenu:n,secondaryMenu:o}=e;const{shown:i}=z();return r.createElement("div",{className:"navbar-sidebar"},t,r.createElement("div",{className:(0,a.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":i})},r.createElement("div",{className:"navbar-sidebar__item menu"},n),r.createElement("div",{className:"navbar-sidebar__item menu"},o)))}var U=n(5869),$=n(6930);function H(e){return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"}))}function q(e){return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"}))}const G={toggle:"toggle_OLSw",toggleButton:"toggleButton_wYmb",darkToggleIcon:"darkToggleIcon_Yem1",lightToggleIcon:"lightToggleIcon_Sxwe",toggleButtonDisabled:"toggleButtonDisabled_vaDU"};function Z(e){let{className:t,value:n,onChange:o}=e;const i=(0,$.Z)(),l=(0,u.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===n?(0,u.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,u.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return r.createElement("div",{className:(0,a.Z)(G.toggle,t)},r.createElement("button",{className:(0,a.Z)("clean-btn",G.toggleButton,!i&&G.toggleButtonDisabled),type:"button",onClick:()=>o("dark"===n?"light":"dark"),disabled:!i,title:l,"aria-label":l,"aria-live":"polite"},r.createElement(H,{className:(0,a.Z)(G.toggleIcon,G.lightToggleIcon)}),r.createElement(q,{className:(0,a.Z)(G.toggleIcon,G.darkToggleIcon)})))}const V=r.memo(Z);function W(e){let{className:t}=e;const n=(0,w.L)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,U.I)();return n?null:r.createElement(V,{className:t,value:a,onChange:o})}var Y=n(4633);function K(){return r.createElement(Y.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Q(){const e=(0,N.e)();return r.createElement("button",{type:"button","aria-label":(0,u.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle()},r.createElement(S,{color:"var(--ifm-color-emphasis-600)"}))}function X(){return r.createElement("div",{className:"navbar-sidebar__brand"},r.createElement(K,null),r.createElement(W,{className:"margin-right--md"}),r.createElement(Q,null))}var J=n(2896),ee=n(4198),te=n(8949);function ne(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var re=n(7031);function ae(e){let{activeBasePath:t,activeBaseRegex:n,to:a,href:o,label:i,html:s,isDropdownLink:u,prependBaseUrlToHref:c,...d}=e;const p=(0,ee.Z)(a),f=(0,ee.Z)(t),m=(0,ee.Z)(o,{forcePrependBaseUrl:!0}),g=i&&o&&!(0,te.Z)(o),h=s?{dangerouslySetInnerHTML:{__html:s}}:{children:r.createElement(r.Fragment,null,i,g&&r.createElement(re.Z,u&&{width:12,height:12}))};return o?r.createElement(J.Z,(0,l.Z)({href:c?m:o},d,h)):r.createElement(J.Z,(0,l.Z)({to:p,isNavLink:!0},(t||n)&&{isActive:(e,t)=>n?ne(n,t.pathname):t.pathname.startsWith(f)},d,h))}function oe(e){let{className:t,isDropdownItem:n=!1,...o}=e;const i=r.createElement(ae,(0,l.Z)({className:(0,a.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n},o));return n?r.createElement("li",null,i):i}function ie(e){let{className:t,isDropdownItem:n,...o}=e;return r.createElement("li",{className:"menu__list-item"},r.createElement(ae,(0,l.Z)({className:(0,a.Z)("menu__link",t)},o)))}function le(e){let{mobile:t=!1,position:n,...a}=e;const o=t?ie:oe;return r.createElement(o,(0,l.Z)({},a,{activeClassName:a.activeClassName??(t?"menu__link--active":"navbar__link--active")}))}var se=n(9782),ue=n(9846),ce=n(5837);function de(e,t){return e.some((e=>function(e,t){return!!(0,ue.Mg)(e.to,t)||!!ne(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function pe(e){let{items:t,position:n,className:o,onClick:i,...s}=e;const u=(0,r.useRef)(null),[c,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{u.current&&!u.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[u]),r.createElement("div",{ref:u,className:(0,a.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c})},r.createElement(ae,(0,l.Z)({"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,a.Z)("navbar__link",o)},s,{onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))}}),s.children??s.label),r.createElement("ul",{className:"dropdown__menu"},t.map(((e,n)=>r.createElement(Ce,(0,l.Z)({isDropdownItem:!0,onKeyDown:e=>{if(n===t.length-1&&"Tab"===e.key){e.preventDefault(),d(!1);const t=u.current.nextElementSibling;if(t){(t instanceof HTMLAnchorElement?t:t.querySelector("a")).focus()}}},activeClassName:"dropdown__link--active"},e,{key:n}))))))}function fe(e){let{items:t,className:n,position:o,onClick:i,...u}=e;const c=function(){const{siteConfig:{baseUrl:e}}=(0,ce.Z)(),{pathname:t}=(0,s.TH)();return t.replace(e,"/")}(),d=de(t,c),{collapsed:p,toggleCollapsed:f,setCollapsed:m}=(0,se.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&m(!d)}),[c,d,m]),r.createElement("li",{className:(0,a.Z)("menu__list-item",{"menu__list-item--collapsed":p})},r.createElement(ae,(0,l.Z)({role:"button",className:(0,a.Z)("menu__link menu__link--sublist menu__link--sublist-caret",n)},u,{onClick:e=>{e.preventDefault(),f()}}),u.children??u.label),r.createElement(se.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p},t.map(((e,t)=>r.createElement(Ce,(0,l.Z)({mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active"},e,{key:t}))))))}function me(e){let{mobile:t=!1,...n}=e;const a=t?fe:pe;return r.createElement(a,n)}var ge=n(8345);function he(e){let{width:t=20,height:n=20,...a}=e;return r.createElement("svg",(0,l.Z)({viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0},a),r.createElement("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"}))}const be="iconLanguage_xrmG";var ve=n(8176);const ye="searchBox_xrOJ";function we(e){let{children:t,className:n}=e;return r.createElement("div",{className:(0,a.Z)(n,ye)},t)}var ke=n(429),Se=n(9450);var Ee=n(3855);const xe=e=>e.docs.find((t=>t.id===e.mainDocId));const Te={default:le,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:a,...o}=e;const{i18n:{currentLocale:i,locales:c,localeConfigs:d}}=(0,ce.Z)(),p=(0,ge.l)(),{search:f,hash:m}=(0,s.TH)(),g=[...n,...c.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${m}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...a],h=t?(0,u.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return r.createElement(me,(0,l.Z)({},o,{mobile:t,label:r.createElement(r.Fragment,null,r.createElement(he,{className:be}),h),items:g}))},search:function(e){let{mobile:t,className:n}=e;return t?null:r.createElement(we,{className:n},r.createElement(ve.Z,null))},dropdown:me,html:function(e){let{value:t,className:n,mobile:o=!1,isDropdownItem:i=!1}=e;const l=i?"li":"div";return r.createElement(l,{className:(0,a.Z)({navbar__item:!o&&!i,"menu__list-item":o},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:a,...o}=e;const{activeDoc:i}=(0,ke.Iw)(a),s=(0,Se.vY)(t,a);return null===s?null:r.createElement(le,(0,l.Z)({exact:!0},o,{isActive:()=>(null==i?void 0:i.path)===s.path||!(null==i||!i.sidebar)&&i.sidebar===s.sidebar,label:n??s.id,to:s.path}))},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:a,...o}=e;const{activeDoc:i}=(0,ke.Iw)(a),s=(0,Se.oz)(t,a).link;if(!s)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return r.createElement(le,(0,l.Z)({exact:!0},o,{isActive:()=>(null==i?void 0:i.sidebar)===t,label:n??s.label,to:s.path}))},docsVersion:function(e){let{label:t,to:n,docsPluginId:a,...o}=e;const i=(0,Se.lO)(a)[0],s=t??i.label,u=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(i).path;return r.createElement(le,(0,l.Z)({},o,{label:s,to:u}))},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:a,dropdownItemsBefore:o,dropdownItemsAfter:i,...c}=e;const{search:d,hash:p}=(0,s.TH)(),f=(0,ke.Iw)(n),m=(0,ke.gB)(n),{savePreferredVersionName:g}=(0,Ee.J)(n),h=[...o,...m.map((e=>{const t=f.alternateDocVersions[e.name]??xe(e);return{label:e.label,to:`${t.path}${d}${p}`,isActive:()=>e===f.activeVersion,onClick:()=>g(e.name)}})),...i],b=(0,Se.lO)(n)[0],v=t&&h.length>1?(0,u.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):b.label,y=t&&h.length>1?void 0:xe(b).path;return h.length<=1?r.createElement(le,(0,l.Z)({},c,{mobile:t,label:v,to:y,isActive:a?()=>!1:void 0})):r.createElement(me,(0,l.Z)({},c,{mobile:t,label:v,to:y,items:h,isActive:a?()=>!1:void 0}))}};function Ce(e){let{type:t,...n}=e;const a=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=Te[a];if(!o)throw new Error(`No NavbarItem component found for type "${t}".`);return r.createElement(o,n)}function _e(){const e=(0,N.e)(),t=(0,w.L)().navbar.items;return r.createElement("ul",{className:"menu__list"},t.map(((t,n)=>r.createElement(Ce,(0,l.Z)({mobile:!0},t,{onClick:()=>e.toggle(),key:n})))))}function Pe(e){return r.createElement("button",(0,l.Z)({},e,{type:"button",className:"clean-btn navbar-sidebar__back"}),r.createElement(u.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"},"\u2190 Back to main menu"))}function Ae(){const e=0===(0,w.L)().navbar.items.length,t=z();return r.createElement(r.Fragment,null,!e&&r.createElement(Pe,{onClick:()=>t.hide()}),t.content)}function Re(){const e=(0,N.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?r.createElement(j,{header:r.createElement(X,null),primaryMenu:r.createElement(_e,null),secondaryMenu:r.createElement(Ae,null)}):null}const Le="navbarHideable_bChn",Ne="navbarHidden_zsXl";function De(e){return r.createElement("div",(0,l.Z)({role:"presentation"},e,{className:(0,a.Z)("navbar-sidebar__backdrop",e.className)}))}function Ie(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,w.L)(),i=(0,N.e)(),{navbarRef:l,isNavbarVisible:s}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,D.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i=l?n(!1):i+u{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return r.createElement("nav",{ref:l,className:(0,a.Z)("navbar","navbar--fixed-top",n&&[Le,!s&&Ne],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown})},t,r.createElement(De,{onClick:i.toggle}),r.createElement(Re,null))}function Oe(e){let{width:t=30,height:n=30,className:a,...o}=e;return r.createElement("svg",(0,l.Z)({className:a,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true"},o),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}function Me(){const{toggle:e,shown:t}=(0,N.e)();return r.createElement("button",{onClick:e,"aria-label":(0,u.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button"},r.createElement(Oe,null))}const Fe="colorModeToggle_Hg9V";function Be(e){let{items:t}=e;return r.createElement(r.Fragment,null,t.map(((e,t)=>r.createElement(Ce,(0,l.Z)({},e,{key:t})))))}function ze(e){let{left:t,right:n}=e;return r.createElement("div",{className:"navbar__inner"},r.createElement("div",{className:"navbar__items"},t),r.createElement("div",{className:"navbar__items navbar__items--right"},n))}function je(){const e=(0,N.e)(),t=(0,w.L)().navbar.items,[n,a]=function(e){function t(e){return"left"===(e.position??"right")}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return r.createElement(ze,{left:r.createElement(r.Fragment,null,!e.disabled&&r.createElement(Me,null),r.createElement(K,null),r.createElement(Be,{items:n})),right:r.createElement(r.Fragment,null,r.createElement(Be,{items:a}),r.createElement(W,{className:Fe}),!o&&r.createElement(we,null,r.createElement(ve.Z,null)))})}function Ue(){return r.createElement(Ie,null,r.createElement(je,null))}function $e(e){let{item:t}=e;const{to:n,href:a,label:o,prependBaseUrlToHref:i,...s}=t,u=(0,ee.Z)(n),c=(0,ee.Z)(a,{forcePrependBaseUrl:!0});return r.createElement(J.Z,(0,l.Z)({className:"footer__link-item"},a?{href:i?c:a}:{to:u},s),o,a&&!(0,te.Z)(a)&&r.createElement(re.Z,null))}function He(e){let{item:t}=e;return t.html?r.createElement("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):r.createElement("li",{key:t.href??t.to,className:"footer__item"},r.createElement($e,{item:t}))}function qe(e){let{column:t}=e;return r.createElement("div",{className:"col footer__col"},r.createElement("div",{className:"footer__title"},t.title),r.createElement("ul",{className:"footer__items clean-list"},t.items.map(((e,t)=>r.createElement(He,{key:t,item:e})))))}function Ge(e){let{columns:t}=e;return r.createElement("div",{className:"row footer__links"},t.map(((e,t)=>r.createElement(qe,{key:t,column:e}))))}function Ze(){return r.createElement("span",{className:"footer__link-separator"},"\xb7")}function Ve(e){let{item:t}=e;return t.html?r.createElement("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):r.createElement($e,{item:t})}function We(e){let{links:t}=e;return r.createElement("div",{className:"footer__links text--center"},r.createElement("div",{className:"footer__links"},t.map(((e,n)=>r.createElement(r.Fragment,{key:n},r.createElement(Ve,{item:e}),t.length!==n+1&&r.createElement(Ze,null))))))}function Ye(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?r.createElement(Ge,{columns:t}):r.createElement(We,{links:t})}var Ke=n(3622);const Qe="footerLogoLink_zxYv";function Xe(e){let{logo:t}=e;const{withBaseUrl:n}=(0,ee.C)(),o={light:n(t.src),dark:n(t.srcDark??t.src)};return r.createElement(Ke.Z,{className:(0,a.Z)("footer__logo",t.className),alt:t.alt,sources:o,width:t.width,height:t.height,style:t.style})}function Je(e){let{logo:t}=e;return t.href?r.createElement(J.Z,{href:t.href,className:Qe,target:t.target},r.createElement(Xe,{logo:t})):r.createElement(Xe,{logo:t})}function et(e){let{copyright:t}=e;return r.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function tt(e){let{style:t,links:n,logo:o,copyright:i}=e;return r.createElement("footer",{className:(0,a.Z)("footer",{"footer--dark":"dark"===t})},r.createElement("div",{className:"container container-fluid"},n,(o||i)&&r.createElement("div",{className:"footer__bottom text--center"},o&&r.createElement("div",{className:"margin-bottom--sm"},o),i)))}function nt(){const{footer:e}=(0,w.L)();if(!e)return null;const{copyright:t,links:n,logo:a,style:o}=e;return r.createElement(tt,{style:o,links:n&&n.length>0&&r.createElement(Ye,{links:n}),logo:a&&r.createElement(Je,{logo:a}),copyright:t&&r.createElement(et,{copyright:t})})}const rt=r.memo(nt);var at=n(1495);const ot="docusaurus.tab.",it=r.createContext(void 0);const lt=(0,I.Qc)([U.S,k.pl,function(e){let{children:t}=e;const n=function(){const[e,t]=(0,r.useState)({}),n=(0,r.useCallback)(((e,t)=>{(0,at.W)(`docusaurus.tab.${e}`).set(t)}),[]);(0,r.useEffect)((()=>{try{const e={};(0,at._)().forEach((t=>{if(t.startsWith(ot)){const n=t.substring(ot.length);e[n]=(0,at.W)(t).get()}})),t(e)}catch(e){console.error(e)}}),[]);const a=(0,r.useCallback)(((e,r)=>{t((t=>({...t,[e]:r}))),n(e,r)}),[n]);return(0,r.useMemo)((()=>({tabGroupChoices:e,setTabGroupChoices:a})),[e,a])}();return r.createElement(it.Provider,{value:n},t)},D.OC,Ee.L5,i.VC,function(e){let{children:t}=e;return r.createElement(O.n2,null,r.createElement(N.M,null,r.createElement(F,null,t)))}]);function st(e){let{children:t}=e;return r.createElement(lt,null,t)}function ut(e){let{error:t,tryAgain:n}=e;return r.createElement("main",{className:"container margin-vert--xl"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col col--6 col--offset-3"},r.createElement("h1",{className:"hero__title"},r.createElement(u.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed"},"This page crashed.")),r.createElement("p",null,t.message),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},r.createElement(u.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again when the page crashed"},"Try again"))))))}const ct="mainWrapper_UyTV";function dt(e){const{children:t,noFooter:n,wrapperClassName:l,title:s,description:u}=e;return(0,b.t)(),r.createElement(st,null,r.createElement(i.d,{title:s,description:u}),r.createElement(y,null),r.createElement(L,null),r.createElement(Ue,null),r.createElement("div",{id:d,className:(0,a.Z)(h.k.wrapper.main,ct,l)},r.createElement(o.Z,{fallback:e=>r.createElement(ut,e)},t)),!n&&r.createElement(rt,null))}},4633:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(7896),a=n(2784),o=n(2896),i=n(4198),l=n(5837),s=n(6371),u=n(3622);function c(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,i.Z)(t.src),dark:(0,i.Z)(t.srcDark||t.src)},l=a.createElement(u.Z,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?a.createElement("div",{className:r},l):l}function d(e){const{siteConfig:{title:t}}=(0,l.Z)(),{navbar:{title:n,logo:u}}=(0,s.L)(),{imageClassName:d,titleClassName:p,...f}=e,m=(0,i.Z)((null==u?void 0:u.href)||"/"),g=n?"":t,h=(null==u?void 0:u.alt)??g;return a.createElement(o.Z,(0,r.Z)({to:m},f,(null==u?void 0:u.target)&&{target:u.target}),u&&a.createElement(c,{logo:u,alt:h,imageClassName:d}),null!=n&&a.createElement("b",{className:p},n))}},957:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(2784),a=n(8428);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return r.createElement(a.Z,null,t&&r.createElement("meta",{name:"docusaurus_locale",content:t}),n&&r.createElement("meta",{name:"docusaurus_version",content:n}),o&&r.createElement("meta",{name:"docusaurus_tag",content:o}),i&&r.createElement("meta",{name:"docsearch:language",content:i}),n&&r.createElement("meta",{name:"docsearch:version",content:n}),o&&r.createElement("meta",{name:"docsearch:docusaurus_tag",content:o}))}},3622:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(7896),a=n(2784),o=n(6277),i=n(6930),l=n(5869);const s={themedImage:"themedImage_RWGG","themedImage--light":"themedImage--light_riBm","themedImage--dark":"themedImage--dark_Dsi0"};function u(e){const t=(0,i.Z)(),{colorMode:n}=(0,l.I)(),{sources:u,className:c,alt:d,...p}=e,f=t?"dark"===n?["dark"]:["light"]:["light","dark"];return a.createElement(a.Fragment,null,f.map((e=>a.createElement("img",(0,r.Z)({key:e,src:u[e],alt:d,className:(0,o.Z)(s.themedImage,s[`themedImage--${e}`],c)},p)))))}},9782:(e,t,n)=>{"use strict";n.d(t,{u:()=>i,z:()=>m});var r=n(7896),a=n(2784),o=n(2153);function i(e){let{initialState:t}=e;const[n,r]=(0,a.useState)(t??!1),o=(0,a.useCallback)((()=>{r((e=>!e))}),[]);return{collapsed:n,setCollapsed:r,toggleCollapsed:o}}const l={display:"none",overflow:"hidden",height:"0px"},s={display:"block",overflow:"visible",height:"auto"};function u(e,t){const n=t?l:s;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function c(e){let{collapsibleRef:t,collapsed:n,animation:r}=e;const o=(0,a.useRef)(!1);(0,a.useEffect)((()=>{const e=t.current;function a(){const t=e.scrollHeight,n=(null==r?void 0:r.duration)??function(e){const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${(null==r?void 0:r.easing)??"ease-in-out"}`,height:`${t}px`}}function i(){const t=a();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return u(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(i(),requestAnimationFrame((()=>{e.style.height=l.height,e.style.overflow=l.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{i()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,r])}function d(e){if(!o.Z.canUseDOM)return e?l:s}function p(e){let{as:t="div",collapsed:n,children:r,animation:o,onCollapseTransitionEnd:i,className:l,disableSSRStyle:s}=e;const p=(0,a.useRef)(null);return c({collapsibleRef:p,collapsed:n,animation:o}),a.createElement(t,{ref:p,style:s?void 0:d(n),onTransitionEnd:e=>{"height"===e.propertyName&&(u(p.current,n),null==i||i(n))},className:l},r)}function f(e){let{collapsed:t,...n}=e;const[o,i]=(0,a.useState)(!t),[l,s]=(0,a.useState)(t);return(0,a.useLayoutEffect)((()=>{t||i(!0)}),[t]),(0,a.useLayoutEffect)((()=>{o&&s(t)}),[o,t]),o?a.createElement(p,(0,r.Z)({},n,{collapsed:l})):null}function m(e){let{lazy:t,...n}=e;const r=t?f:p;return a.createElement(r,n)}},5830:(e,t,n)=>{"use strict";n.d(t,{nT:()=>m,pl:()=>f});var r=n(2784),a=n(6930),o=n(1495),i=n(1661),l=n(6371);const s=(0,o.W)("docusaurus.announcement.dismiss"),u=(0,o.W)("docusaurus.announcement.id"),c=()=>"true"===s.get(),d=e=>s.set(String(e)),p=r.createContext(null);function f(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.L)(),t=(0,a.Z)(),[n,o]=(0,r.useState)((()=>!!t&&c()));(0,r.useEffect)((()=>{o(c())}),[]);const i=(0,r.useCallback)((()=>{d(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&d(!1),!r&&c()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return r.createElement(p.Provider,{value:n},t)}function m(){const e=(0,r.useContext)(p);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},5869:(e,t,n)=>{"use strict";n.d(t,{I:()=>h,S:()=>g});var r=n(2784),a=n(2153),o=n(1661),i=n(1495),l=n(6371);const s=r.createContext(void 0),u="theme",c=(0,i.W)(u),d="light",p="dark",f=e=>e===p?p:d;function m(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.L)(),[o,i]=(0,r.useState)((e=>a.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e))(e));(0,r.useEffect)((()=>{t&&c.del()}),[t]);const s=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(i(t),a&&(e=>{c.set(f(e))})(t)):(i(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p:d:e),c.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(o))}),[o]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=c.get();null!==t&&s(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,s]);const m=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||m.current?m.current=window.matchMedia("print").matches:s(null)};return e.addListener(r),()=>e.removeListener(r)}),[s,t,n]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:s,get isDarkTheme(){return o===p},setLightTheme(){s(d)},setDarkTheme(){s(p)}})),[o,s])}function g(e){let{children:t}=e;const n=m();return r.createElement(s.Provider,{value:n},t)}function h(){const e=(0,r.useContext)(s);if(null==e)throw new o.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},3855:(e,t,n)=>{"use strict";n.d(t,{J:()=>y,L5:()=>b});var r=n(2784),a=n(429),o=n(9240),i=n(6371),l=n(9450),s=n(1661),u=n(1495);const c=e=>`docs-preferred-version-${e}`,d=(e,t,n)=>{(0,u.W)(c(e),{persistence:t}).set(n)},p=(e,t)=>(0,u.W)(c(e),{persistence:t}).get(),f=(e,t)=>{(0,u.W)(c(e),{persistence:t}).del()};const m=r.createContext(null);function g(){const e=(0,a._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,l]=(0,r.useState)((()=>(e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}]))))(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=p(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(f(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){d(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=g();return r.createElement(m.Provider,{value:n},t)}function b(e){let{children:t}=e;return l.cE?r.createElement(h,null,t):r.createElement(r.Fragment,null,t)}function v(){const e=(0,r.useContext)(m);if(!e)throw new s.i6("DocsPreferredVersionContextProvider");return e}function y(e){void 0===e&&(e=o.m);const t=(0,a.zh)(e),[n,i]=v(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},3504:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,b:()=>l});var r=n(2784),a=n(1661);const o=Symbol("EmptyContext"),i=r.createContext(o);function l(e){let{children:t,name:n,items:a}=e;const o=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return r.createElement(i.Provider,{value:o},t)}function s(){const e=(0,r.useContext)(i);if(e===o)throw new a.i6("DocsSidebarProvider");return e}},4890:(e,t,n)=>{"use strict";n.d(t,{M:()=>p,e:()=>f});var r=n(2784),a=n(3970),o=n(6086),i=n(7267),l=n(1661);function s(e){!function(e){const t=(0,i.k6)(),n=(0,l.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var u=n(6371);const c=r.createContext(void 0);function d(){const e=function(){const e=(0,a.HY)(),{items:t}=(0,u.L)().navbar;return 0===t.length&&!e.component}(),t=(0,o.i)(),n=!e&&"mobile"===t,[i,l]=(0,r.useState)(!1);s((()=>{if(i)return l(!1),!1}));const c=(0,r.useCallback)((()=>{l((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&l(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:i})),[e,n,c,i])}function p(e){let{children:t}=e;const n=d();return r.createElement(c.Provider,{value:n},t)}function f(){const e=r.useContext(c);if(void 0===e)throw new l.i6("NavbarMobileSidebarProvider");return e}},3970:(e,t,n)=>{"use strict";n.d(t,{HY:()=>l,Zo:()=>s,n2:()=>i});var r=n(2784),a=n(1661);const o=r.createContext(null);function i(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return r.createElement(o.Provider,{value:n},t)}function l(){const e=(0,r.useContext)(o);if(!e)throw new a.i6("NavbarSecondaryMenuContentProvider");return e[0]}function s(e){let{component:t,props:n}=e;const i=(0,r.useContext)(o);if(!i)throw new a.i6("NavbarSecondaryMenuContentProvider");const[,l]=i,s=(0,a.Ql)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},2851:(e,t,n)=>{"use strict";n.d(t,{h:()=>a,t:()=>o});var r=n(2784);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},6086:(e,t,n)=>{"use strict";n.d(t,{i:()=>u});var r=n(2784),a=n(2153);const o="desktop",i="mobile",l="ssr";function s(){return a.Z.canUseDOM?window.innerWidth>996?o:i:l}function u(){const[e,t]=(0,r.useState)((()=>s()));return(0,r.useEffect)((()=>{function e(){t(s())}return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),clearTimeout(undefined)}}),[]),e}},5138:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},9450:(e,t,n)=>{"use strict";n.d(t,{Wl:()=>p,_F:()=>m,cE:()=>d,hI:()=>w,lO:()=>b,vY:()=>y,oz:()=>v,s1:()=>h});var r=n(2784),a=n(7267),o=n(9702),i=n(429),l=n(3855),s=n(3504);function u(e){return Array.from(new Set(e))}var c=n(9846);const d=!!i._r;function p(e){if(e.href)return e.href;for(const t of e.items){if("link"===t.type)return t.href;if("category"===t.type){const e=p(t);if(e)return e}}}const f=(e,t)=>void 0!==e&&(0,c.Mg)(e,t);function m(e,t){return"link"===e.type?f(e.href,t):"category"===e.type&&(f(e.href,t)||((e,t)=>e.some((e=>m(e,t))))(e.items,t))}function g(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,c.Mg)(o.href,n)||e(o.items))||"link"===o.type&&(0,c.Mg)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function h(){var e;const t=(0,s.V)(),{pathname:n}=(0,a.TH)();return!1!==(null==(e=(0,i.gA)())?void 0:e.pluginData.breadcrumbs)&&t?g({sidebarItems:t.items,pathname:n}):null}function b(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,l.J)(e),a=(0,i.yW)(e);return(0,r.useMemo)((()=>u([t,n,a].filter(Boolean))),[t,n,a])}function v(e,t){const n=b(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\n Available sidebar ids are:\n - ${Object.keys(t).join("\n- ")}`);return r[1]}),[e,n])}function y(e,t){const n=b(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`DocNavbarItem: couldn't find any doc with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${u(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function w(e){let{route:t,versionMetadata:n}=e;const r=(0,a.TH)(),i=t.routes,l=i.find((e=>(0,a.LX)(r.pathname,e)));if(!l)return null;const s=l.sidebar,u=s?n.docsSidebars[s]:void 0;return{docElement:(0,o.H)(i),sidebarName:s,sidebarItems:u}}},5982:(e,t,n)=>{"use strict";n.d(t,{FG:()=>p,d:()=>c,VC:()=>f});var r=n(2784),a=n(6277),o=n(8428),i=n(4789);function l(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(4198),u=n(5837);function c(e){let{title:t,description:n,keywords:a,image:i,children:l}=e;const c=function(e){const{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return null!=e&&e.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.C)(),p=i?d(i,{absolute:!0}):void 0;return r.createElement(o.Z,null,t&&r.createElement("title",null,c),t&&r.createElement("meta",{property:"og:title",content:c}),n&&r.createElement("meta",{name:"description",content:n}),n&&r.createElement("meta",{property:"og:description",content:n}),a&&r.createElement("meta",{name:"keywords",content:Array.isArray(a)?a.join(","):a}),p&&r.createElement("meta",{property:"og:image",content:p}),p&&r.createElement("meta",{name:"twitter:image",content:p}),l)}const d=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const i=r.useContext(d),l=(0,a.Z)(i,t);return r.createElement(d.Provider,{value:l},r.createElement(o.Z,null,r.createElement("html",{className:l})),n)}function f(e){let{children:t}=e;const n=l(),o=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const i=`plugin-id-${n.plugin.id}`;return r.createElement(p,{className:(0,a.Z)(o,i)},t)}},1661:(e,t,n)=>{"use strict";n.d(t,{D9:()=>i,Qc:()=>u,Ql:()=>s,i6:()=>l,zX:()=>o});var r=n(2784);const a=n(2153).Z.canUseDOM?r.useLayoutEffect:r.useEffect;function o(e){const t=(0,r.useRef)(e);return a((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function i(e){const t=(0,r.useRef)();return a((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){var n,r,a;super(),this.name="ReactContextError",this.message=`Hook ${(null==(n=this.stack)||null==(r=n.split("\n")[1])||null==(a=r.match(/at (?:\w+\.)?(?\w+)/))?void 0:a.groups.name)??""} is called outside the <${e}>. ${t??""}`}}function s(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return r.createElement(r.Fragment,null,e.reduceRight(((e,t)=>r.createElement(t,null,e)),n))}}},9846:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>i,Ns:()=>l});var r=n(2784),a=n(2063),o=n(5837);function i(e,t){const n=e=>{var t;return null==(t=!e||e.endsWith("/")?e:`${e}/`)?void 0:t.toLowerCase()};return n(e)===n(t)}function l(){const{baseUrl:e}=(0,o.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.Z,baseUrl:e})),[e])}},6152:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>p,OC:()=>s,RF:()=>d});var r=n(2784),a=n(2153),o=n(6930),i=n(1661);const l=r.createContext(void 0);function s(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return r.createElement(l.Provider,{value:n},t)}function u(){const e=(0,r.useContext)(l);if(null==e)throw new i.i6("ScrollControllerProvider");return e}const c=()=>a.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function d(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=u(),a=(0,r.useRef)(c()),o=(0,i.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=c();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function p(){const e=(0,r.useRef)(null),t=(0,o.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&at&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>null==e.current?void 0:e.current()}}},2217:(e,t,n)=>{"use strict";n.d(t,{HX:()=>r,os:()=>a});n(5837);const r="default";function a(e,t){return`docs-${e}-${t}`}},1495:(e,t,n)=>{"use strict";n.d(t,{W:()=>l,_:()=>s});const r="localStorage";function a(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,o||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),o=!0),null}var t}let o=!1;const i={get:()=>null,set:()=>{},del:()=>{}};function l(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t}}(e);const n=a(null==t?void 0:t.persistence);return null===n?i:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{n.setItem(e,t)}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{n.removeItem(e)}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}}}}function s(e){void 0===e&&(e=r);const t=a(e);if(!t)return[];const n=[];for(let r=0;r{"use strict";n.d(t,{l:()=>o});var r=n(5837),a=n(7267);function o(){const{siteConfig:{baseUrl:e,url:t},i18n:{defaultLocale:n,currentLocale:o}}=(0,r.Z)(),{pathname:i}=(0,a.TH)(),l=o===n?e:e.replace(`/${o}/`,"/"),s=i.replace(e,"");return{createUrl:function(e){let{locale:r,fullyQualified:a}=e;return`${a?t:""}${function(e){return e===n?`${l}`:`${l}${e}/`}(r)}${s}`}}}},2462:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(2784),a=n(7267),o=n(1661);function i(e){const t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6371:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(5837);function a(){return(0,r.Z)().siteConfig.themeConfig}},9321:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[a]=e.split(/[#?]/),o="/"===a||a===r?a:(i=a,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(a,o)}},6744:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="post-content";var a=n(9321);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}})},2063:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(2784),a=n(7896),o=n(9028),i=n.n(o),l=n(6887);const s={"01718d38":[()=>n.e(6589).then(n.bind(n,9957)),"@site/docs/guides/viewstate.mdx",9957],"03533067":[()=>n.e(7978).then(n.bind(n,7554)),"@site/docs/guides/styling.mdx",7554],"099f0e49":[()=>n.e(3983).then(n.bind(n,1277)),"@site/docs/react/UncontrolledTreeEnvironment.mdx",1277],"11f01609":[()=>n.e(4658).then(n.bind(n,4675)),"@site/docs/api/interfaces/DragAndDropContextProps.md",4675],17896441:[()=>Promise.all([n.e(532),n.e(8900),n.e(5393),n.e(7918)]).then(n.bind(n,5393)),"@theme/DocItem",5393],"19e374a6":[()=>n.e(2988).then(n.bind(n,3532)),"@site/docs/api/interfaces/UncontrolledTreeEnvironmentProps.md",3532],"1be78505":[()=>Promise.all([n.e(532),n.e(9514)]).then(n.bind(n,7190)),"@theme/DocPage",7190],"1dc6e396":[()=>n.e(2306).then(n.bind(n,790)),"@site/docs/api/interfaces/TreeRef.md",790],"1f391b9e":[()=>Promise.all([n.e(532),n.e(8900),n.e(3085)]).then(n.bind(n,4158)),"@theme/MDXPage",4158],"22b283fc":[()=>n.e(9954).then(n.t.bind(n,3769,19)),"/home/runner/work/react-complex-tree/react-complex-tree/packages/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"24e83e91":[()=>n.e(6387).then(n.bind(n,6781)),"@site/docs/react/Tree.mdx",6781],"2db2a0ac":[()=>n.e(4088).then(n.bind(n,3393)),"@site/docs/getstarted.mdx",3393],"2dcc60aa":[()=>n.e(5645).then(n.bind(n,1935)),"@site/docs/guides/controlled-environment.mdx",1935],"2fab2ebb":[()=>n.e(6358).then(n.bind(n,9086)),"@site/docs/api/interfaces/TreeChangeHandlers.md",9086],"38842d36":[()=>n.e(4252).then(n.bind(n,6073)),"@site/docs/guides/drag-and-drop.mdx",6073],"393be207":[()=>n.e(7414).then(n.bind(n,580)),"@site/src/pages/markdown-page.md",580],"3f9b2bea":[()=>n.e(7006).then(n.bind(n,3238)),"@site/docs/api/interfaces/TreeEnvironmentConfiguration.md",3238],"4545ea4c":[()=>n.e(1598).then(n.bind(n,5115)),"@site/docs/guides/multiple-trees.mdx",5115],"477ea11f":[()=>Promise.all([n.e(8873),n.e(3028)]).then(n.bind(n,3693)),"@site/docs/guides/search.mdx",3693],"533b1e4a":[()=>n.e(833).then(n.bind(n,8391)),"@site/docs/api/interfaces/TreeDataProvider.md",8391],"5c383700":[()=>n.e(9917).then(n.bind(n,9325)),"@site/docs/guides/refs.mdx",9325],"5e3e1ed4":[()=>n.e(9436).then(n.bind(n,9516)),"@site/docs/api/enums/InteractionMode.md",9516],"5e8c322a":[()=>n.e(7597).then(n.bind(n,9769)),"@site/docs/api/index.md",9769],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],"607f1e5c":[()=>n.e(1938).then(n.bind(n,5123)),"@site/docs/guides/keyboard.mdx",5123],"623d149d":[()=>n.e(6470).then(n.bind(n,6231)),"@site/docs/api/interfaces/TreeItem.md",6231],"6ab84e92":[()=>Promise.all([n.e(8873),n.e(5069)]).then(n.bind(n,306)),"@site/docs/guides/rendering.mdx",306],"6bc44559":[()=>n.e(3804).then(n.bind(n,6153)),"@site/docs/api/interfaces/LiveDescriptors.md",6153],"6cb0f98b":[()=>n.e(4156).then(n.bind(n,4703)),"@site/docs/guides/static-data-provider.mdx",4703],"6de764a7":[()=>n.e(6366).then(n.bind(n,603)),"@site/docs/api/interfaces/DraggingPositionItem.md",603],"6e57e813":[()=>n.e(9739).then(n.bind(n,7164)),"@site/docs/api/interfaces/DraggingPositionBetweenItems.md",7164],"71c3a53a":[()=>n.e(5336).then(n.bind(n,6415)),"@site/docs/api/interfaces/TreeContextProps.md",6415],"735d0569":[()=>n.e(7445).then(n.bind(n,139)),"@site/docs/changelog.mdx",139],"7632113b":[()=>n.e(8).then(n.bind(n,4913)),"@site/docs/api/interfaces/TreeInformation.md",4913],"7b8165dd":[()=>n.e(8287).then(n.bind(n,6133)),"@site/docs/api/interfaces/InteractionManager.md",6133],"7cefa985":[()=>n.e(6343).then(n.bind(n,3702)),"@site/docs/api/interfaces/ControlledTreeEnvironmentProps.md",3702],"8229533f":[()=>n.e(2490).then(n.bind(n,7182)),"@site/docs/guides/renaming.mdx",7182],"827f6fe7":[()=>n.e(9751).then(n.bind(n,2519)),"@site/docs/api/interfaces/TreeItemActions.md",2519],"83c319c5":[()=>n.e(8432).then(n.bind(n,5190)),"@site/docs/api/interfaces/TreeConfiguration.md",5190],"8dbe9ca8":[()=>n.e(1839).then(n.bind(n,5763)),"@site/docs/api/interfaces/DraggingPositionRoot.md",5763],"90a82d44":[()=>Promise.all([n.e(8873),n.e(6902)]).then(n.bind(n,4524)),"@site/docs/guides/blueprintjs.mdx",4524],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"96246fa3":[()=>n.e(6560).then(n.bind(n,2707)),"@site/docs/api/interfaces/TreeEnvironmentRef.md",2707],a089534e:[()=>n.e(4331).then(n.bind(n,4182)),"@site/docs/api/interfaces/TreeChangeActions.md",4182],a9032524:[()=>n.e(4347).then(n.bind(n,8410)),"@site/docs/guides/uncontrolled-environment.mdx",8410],aee6b3a1:[()=>Promise.all([n.e(8873),n.e(3129)]).then(n.bind(n,7584)),"@site/docs/guides/accessibility.mdx",7584],b2d1ee25:[()=>n.e(8458).then(n.bind(n,2340)),"@site/docs/api/interfaces/TreeViewState.md",2340],b8a44429:[()=>n.e(2136).then(n.bind(n,2542)),"@site/docs/api/interfaces/TreeProps.md",2542],bb69d313:[()=>n.e(5779).then(n.bind(n,1384)),"@site/docs/api/interfaces/TreeEnvironmentChangeActions.md",1384],bc478784:[()=>n.e(3124).then(n.bind(n,9103)),"@site/docs/api/interfaces/LinearItem.md",9103],bc6f155b:[()=>n.e(7004).then(n.t.bind(n,5745,19)),"/home/runner/work/react-complex-tree/react-complex-tree/packages/docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],c4f5d8e4:[()=>Promise.all([n.e(532),n.e(8873),n.e(4195)]).then(n.bind(n,9779)),"@site/src/pages/index.js",9779],c5a043dd:[()=>n.e(8386).then(n.bind(n,1861)),"@site/docs/guides/custom-data-provider.mdx",1861],c5b3be66:[()=>n.e(4516).then(n.bind(n,3806)),"@site/docs/api/interfaces/TreeRenderProps.md",3806],c7363f8e:[()=>n.e(212).then(n.bind(n,7448)),"@site/docs/guides/interaction-modes.mdx",7448],c8df2ee5:[()=>n.e(1741).then(n.bind(n,7253)),"@site/docs/api/classes/StaticTreeDataProvider.md",7253],c999a0d6:[()=>n.e(5861).then(n.bind(n,5794)),"@site/docs/api/interfaces/ImplicitDataSource.md",5794],ce941396:[()=>n.e(9424).then(n.bind(n,3354)),"@site/docs/api/interfaces/TreeCapabilities.md",3354],cfdb961b:[()=>n.e(4008).then(n.bind(n,1911)),"@site/docs/api/interfaces/TreeItemRenderContext.md",1911],d3726698:[()=>n.e(5237).then(n.bind(n,4377)),"@site/docs/guides/autodemo.mdx",4377],dd09a1d5:[()=>n.e(7578).then(n.bind(n,8286)),"@site/docs/react/ControlledTreeEnvironment.mdx",8286],e0ca98ab:[()=>n.e(1017).then(n.bind(n,9511)),"@site/docs/api/interfaces/TreeItemRenderFlags.md",9511],e2f4c571:[()=>n.e(2151).then(n.bind(n,5370)),"@site/docs/api/interfaces/ExplicitDataSource.md",5370],e863444b:[()=>n.e(1434).then(n.bind(n,4538)),"@site/docs/api/interfaces/AbstractDraggingPosition.md",4538],ea313555:[()=>n.e(7937).then(n.bind(n,9377)),"@site/docs/faq.mdx",9377],f0d6df71:[()=>n.e(9676).then(n.bind(n,4959)),"@site/docs/api/interfaces/KeyboardBindings.md",4959],f6aebfbf:[()=>n.e(7306).then(n.bind(n,3257)),"@site/docs/api/modules.md",3257],fb7733c7:[()=>n.e(5571).then(n.bind(n,8581)),"@site/docs/api/interfaces/TreePosition.md",8581],fea864a1:[()=>n.e(2251).then(n.bind(n,9002)),"@site/docs/api/interfaces/TreeEnvironmentContextProps.md",9002]};function u(e){let{error:t,retry:n,pastDelay:a}=e;return t?r.createElement("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"}},r.createElement("p",null,String(t)),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},"Retry"))):a?r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},r.createElement("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb"},r.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2"},r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"8"},r.createElement("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))):null}var c=n(7911),d=n(4789);function p(e,t){if("*"===e)return i()({loading:u,loader:()=>n.e(5109).then(n.bind(n,5109)),modules:["@theme/NotFound"],webpack:()=>[5109],render(e,t){const n=e.default;return r.createElement(d.z,{value:{plugin:{name:"native",id:"default"}}},r.createElement(n,t))}});const o=l[`${e}-${t}`],p={},f=[],m=[],g=(0,c.Z)(o);return Object.entries(g).forEach((e=>{let[t,n]=e;const r=s[n];r&&(p[t]=r[0],f.push(r[1]),m.push(r[2]))})),i().Map({loading:u,loader:p,modules:f,webpack:()=>m,render(t,n){const i=JSON.parse(JSON.stringify(o));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let o=i;const l=n.split(".");l.slice(0,-1).forEach((e=>{o=o[e]})),o[l[l.length-1]]=a}));const l=i.__comp;delete i.__comp;const s=i.__context;return delete i.__context,r.createElement(d.z,{value:s},r.createElement(l,(0,a.Z)({},i,n)))}})}const f=[{path:"/markdown-page",component:p("/markdown-page","019"),exact:!0},{path:"/docs",component:p("/docs","7e1"),routes:[{path:"/docs/api/",component:p("/docs/api/","aee"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/classes/StaticTreeDataProvider",component:p("/docs/api/classes/StaticTreeDataProvider","150"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/enums/InteractionMode",component:p("/docs/api/enums/InteractionMode","7a5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/AbstractDraggingPosition",component:p("/docs/api/interfaces/AbstractDraggingPosition","18b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/ControlledTreeEnvironmentProps",component:p("/docs/api/interfaces/ControlledTreeEnvironmentProps","c9c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/DragAndDropContextProps",component:p("/docs/api/interfaces/DragAndDropContextProps","a16"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/DraggingPositionBetweenItems",component:p("/docs/api/interfaces/DraggingPositionBetweenItems","cc4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/DraggingPositionItem",component:p("/docs/api/interfaces/DraggingPositionItem","2e2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/DraggingPositionRoot",component:p("/docs/api/interfaces/DraggingPositionRoot","b84"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/ExplicitDataSource",component:p("/docs/api/interfaces/ExplicitDataSource","fb3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/ImplicitDataSource",component:p("/docs/api/interfaces/ImplicitDataSource","4f3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/InteractionManager",component:p("/docs/api/interfaces/InteractionManager","16f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/KeyboardBindings",component:p("/docs/api/interfaces/KeyboardBindings","ecf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/LinearItem",component:p("/docs/api/interfaces/LinearItem","e5d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/LiveDescriptors",component:p("/docs/api/interfaces/LiveDescriptors","0c1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeCapabilities",component:p("/docs/api/interfaces/TreeCapabilities","fad"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeChangeActions",component:p("/docs/api/interfaces/TreeChangeActions","427"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeChangeHandlers",component:p("/docs/api/interfaces/TreeChangeHandlers","dac"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeConfiguration",component:p("/docs/api/interfaces/TreeConfiguration","fc6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeContextProps",component:p("/docs/api/interfaces/TreeContextProps","38a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeDataProvider",component:p("/docs/api/interfaces/TreeDataProvider","b69"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeEnvironmentChangeActions",component:p("/docs/api/interfaces/TreeEnvironmentChangeActions","9d8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeEnvironmentConfiguration",component:p("/docs/api/interfaces/TreeEnvironmentConfiguration","035"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeEnvironmentContextProps",component:p("/docs/api/interfaces/TreeEnvironmentContextProps","d1b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeEnvironmentRef",component:p("/docs/api/interfaces/TreeEnvironmentRef","762"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeInformation",component:p("/docs/api/interfaces/TreeInformation","53f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeItem",component:p("/docs/api/interfaces/TreeItem","ad5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeItemActions",component:p("/docs/api/interfaces/TreeItemActions","255"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeItemRenderContext",component:p("/docs/api/interfaces/TreeItemRenderContext","eec"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeItemRenderFlags",component:p("/docs/api/interfaces/TreeItemRenderFlags","6de"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreePosition",component:p("/docs/api/interfaces/TreePosition","7e6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeProps",component:p("/docs/api/interfaces/TreeProps","1fc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeRef",component:p("/docs/api/interfaces/TreeRef","9de"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeRenderProps",component:p("/docs/api/interfaces/TreeRenderProps","e73"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/TreeViewState",component:p("/docs/api/interfaces/TreeViewState","9d3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/interfaces/UncontrolledTreeEnvironmentProps",component:p("/docs/api/interfaces/UncontrolledTreeEnvironmentProps","2fa"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/api/modules",component:p("/docs/api/modules","98a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/changelog",component:p("/docs/changelog","402"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/faq",component:p("/docs/faq","847"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/getstarted",component:p("/docs/getstarted","de0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/accessibility",component:p("/docs/guides/accessibility","0aa"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/autodemo",component:p("/docs/guides/autodemo","cf4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/blueprintjs",component:p("/docs/guides/blueprintjs","f04"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/controlled-environment",component:p("/docs/guides/controlled-environment","0d3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/custom-data-provider",component:p("/docs/guides/custom-data-provider","774"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/drag-and-drop",component:p("/docs/guides/drag-and-drop","dde"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/interaction-modes",component:p("/docs/guides/interaction-modes","fb8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/keyboard",component:p("/docs/guides/keyboard","f74"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/multiple-trees",component:p("/docs/guides/multiple-trees","df8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/refs",component:p("/docs/guides/refs","305"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/renaming",component:p("/docs/guides/renaming","4b7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/rendering",component:p("/docs/guides/rendering","f08"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/search",component:p("/docs/guides/search","78d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/static-data-provider",component:p("/docs/guides/static-data-provider","66e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/styling",component:p("/docs/guides/styling","3b7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/uncontrolled-environment",component:p("/docs/guides/uncontrolled-environment","cd6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/guides/viewstate",component:p("/docs/guides/viewstate","27d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/react/ControlledTreeEnvironment",component:p("/docs/react/ControlledTreeEnvironment","2f5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/react/Tree",component:p("/docs/react/Tree","6cd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/react/UncontrolledTreeEnvironment",component:p("/docs/react/UncontrolledTreeEnvironment","102"),exact:!0,sidebar:"tutorialSidebar"}]},{path:"/",component:p("/","429"),exact:!0},{path:"*",component:p("*")}]},6277:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;ta});const a=function(){for(var e,t,n=0,a="";n{"use strict";n.d(t,{lX:()=>w,q_:()=>C,ob:()=>f,PP:()=>P,Ep:()=>p});var r=n(7896);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(362);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function f(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=f(e,t,g(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(8570),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=f(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),g=s(n),h=0;h{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},3569:(e,t,n)=>{"use strict";n.r(t)},5071:(e,t,n)=>{"use strict";n.r(t)},7331:(e,t,n)=>{"use strict";n.r(t)},2521:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function a(e,t,n){return en?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&f(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function u(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=p(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},7175:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=d.reach);E+=S.value.length,S=S.next){var x=S.value;if(t.length>e.length)return;if(!(x instanceof a)){var T,C=1;if(v){if(!(T=o(k,E,e,b))||T.index>=e.length)break;var _=T.index,P=T.index+T[0].length,A=E;for(A+=S.value.length;_>=A;)A+=(S=S.next).value.length;if(E=A-=S.value.length,S.value instanceof a)continue;for(var R=S;R!==t.tail&&(Ad.reach&&(d.reach=I);var O=S.prev;if(N&&(O=s(t,O,N),E+=N.length),u(t,O,C),S=s(t,O,new a(p,h?r.tokenize(L,h):L,y,L)),D&&s(t,S,D),C>1){var M={cause:p+","+m,reach:I};i(e,t,n,S.prev,E,M),d&&M.reach>d.reach&&(d.reach=M.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function u(e,t,n){for(var r=t.next,a=0;a"+o.content+""},r}(),a=r;r.default=r,a.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.c=a.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),a.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),a.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},a.languages.c.string],char:a.languages.c.char,comment:a.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:a.languages.c}}}}),a.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete a.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(a),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(a),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(a),a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(a),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(a),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(a),a.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:a.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},a.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var l=p(/^\{$/,/^\}$/);if(-1===l)continue;for(var s=n;s=0&&f(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function s(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function u(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,s(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function c(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,c={},d=s(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=l(i++,r)););return c[n]=a,n})).join(""),n,r),p=Object.keys(c);return i=0,function e(t){for(var n=0;n=p.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=p[i],o="string"==typeof r?r:r.content,l=o.indexOf(a);if(-1!==l){++i;var s=o.substring(0,l),d=u(c[a]),f=o.substring(l+a.length),m=[];if(s&&m.push(s),m.push(d),f){var g=[f];e(g),m.push.apply(m,g)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var h=r.content;Array.isArray(h)?e(h):e([h])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(e){return"string"==typeof e?e:Array.isArray(e)?e.map(p).join(""):p(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,a=n.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(a),function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function o(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return a})),RegExp(e,t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},l=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===i(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var s=i(a);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=i(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}a.content&&"string"!=typeof a.content&&l(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(a),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(a),a.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},a.languages.go=a.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),a.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete a.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],p="string"==typeof u?u:u.content,f=t(r,c),m=p.indexOf(f);if(m>-1){++a;var g=p.substring(0,m),h=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(m+f.length),v=[];g&&v.push.apply(v,i([g])),v.push(h),b&&v.push.apply(v,i([b])),"string"==typeof u?l.splice.apply(l,[s,1].concat(v)):u.content=v}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(a),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(a),a.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},a.languages.webmanifest=a.languages.json,a.languages.less=a.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),a.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),a.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},a.languages.objectivec=a.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete a.languages.objectivec["class-name"],a.languages.objc=a.languages.objectivec,a.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},a.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},a.languages.python["string-interpolation"].inside.interpolation.inside.rest=a.languages.python,a.languages.py=a.languages.python,a.languages.reason=a.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),a.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete a.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(a),a.languages.scss=a.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),a.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),a.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),a.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),a.languages.scss.atrule.inside.rest=a.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(a),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(a),a.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};const o=a},9528:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to WebPlatform.org documentation. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},5525:(e,t,n)=>{const r=n(9528),a=n(4515),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(4596).resolve(t)],delete Prism.languages[e],n(4596)(t),o.add(e)}))}i.silent=!1,e.exports=i},4596:(e,t,n)=>{var r={"./":5525};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=4596},4515:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n "));var l={},s=e[r];if(s){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in a(t,o),l[t]=!0,n[t])l[i]=!0}t(s.require,u),t(s.optional,u),t(s.modify,u)}n[r]=l,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(s);i=i.map(u),l=(l||[]).map(u);var c=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var p,f=r(s),m=c;a(m);){for(var g in p={},m){var h=s[g];t(h&&h.modify,(function(e){e in d&&(p[e]=!0)}))}for(var b in d)if(!(b in c))for(var v in f(b))if(v in c){p[b]=!0;break}for(var y in m=p)c[y]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};function u(e){if(e in l)return l[e];s[e]=!0;var a,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)a=r(e);else{var p=i(c.map((function(e){var t=u(e);return delete s[e],t})));o?a=o(p,(function(){return r(e)})):r(e)}return l[e]=a}for(var c in n)u(c);var d=[];for(var p in s)d.push(l[p]);return i(d)}(f,c,t,n)}};return w}}();e.exports=t},8262:(e,t,n)=>{"use strict";var r=n(3586);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},3980:(e,t,n)=>{e.exports=n(8262)()},3586:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2967:(e,t,n)=>{"use strict";var r=n(2784),a=n(4616);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n