Skip to content

Commit 096ef22

Browse files
committed
docs: fix explorernode references (closes #1985)
1 parent bc16822 commit 096ef22

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/features/explorer.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ Want to customize it even more?
4343
- Removing explorer: remove `Component.Explorer()` from `quartz.layout.ts`
4444
- (optional): After removing the explorer component, you can move the [[table of contents | Table of Contents]] component back to the `left` part of the layout
4545
- Changing `sort`, `filter` and `map` behavior: explained in [[#Advanced customization]]
46-
- Component:
47-
- Wrapper (Outer component, generates file tree, etc): `quartz/components/Explorer.tsx`
48-
- Explorer node (recursive, either a folder or a file): `quartz/components/ExplorerNode.tsx`
46+
- Component: `quartz/components/Explorer.tsx`
4947
- Style: `quartz/components/styles/explorer.scss`
5048
- Script: `quartz/components/scripts/explorer.inline.ts`
5149

@@ -188,7 +186,7 @@ Component.Explorer({
188186
> and passing it in.
189187
>
190188
> ```ts title="quartz.layout.ts"
191-
> import { Options } from "./quartz/components/ExplorerNode"
189+
> import { Options } from "./quartz/components/Explorer"
192190
>
193191
> export const mapFn: Options["mapFn"] = (node) => {
194192
> // implement your function here

0 commit comments

Comments
 (0)