Skip to content

Commit 7f66694

Browse files
remove insert in readMe
1 parent b58340f commit 7f66694

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/itwin/tree-widget/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,6 @@ Use `getSubTreePaths` when you need to restrict the visible hierarchy to a speci
334334

335335
**Restrict the hierarchy to a sub-tree and keep the default filtering logic**: You already have a list of `InstanceKey` items that should remain in the tree. Pass them as `targetItems` to `createInstanceKeyPaths`. This will restrict the hierarchy to a sub-tree, but filtering will work as before.
336336

337-
<!-- [[include: [TreeWidget.GetSubTreePathsComponentWithTargetItemsExample], tsx]] -->
338-
<!-- BEGIN EXTRACTION -->
339-
340337
```tsx
341338
type UseModelsTreeProps = Props<typeof useModelsTree>;
342339
type GetSubTreePathsType = NonNullable<UseModelsTreeProps["getSubTreePaths"]>;
@@ -376,8 +373,6 @@ function CustomModelsTreeComponentWithTargetItems({
376373
}
377374
```
378375

379-
<!-- END EXTRACTION -->
380-
381376
### Categories tree
382377

383378
The component, based on the active view, renders a hierarchy of either spatial (3d) or drawing (2d) categories. The hierarchy consists of two levels - the category (spatial or drawing) and its sub-categories. There's also a header that renders categories search box and various visibility control buttons.

0 commit comments

Comments
 (0)