selectionHandler(item, false)}
+ onSelect={(item) => selectionHandler(item, true)}
+ onRequestClose={closeHandler}
+ renderCommand={(cmd) => {
+ // @ts-expect-error
+ const depth = cmd.path.length;
+ return
+ {'—'.repeat(depth)}
+ {' '}{cmd.name}
+
;
+ }}
+ />
+