1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-06-16 09:46:39 +00:00

docs: fix explorernode references (closes #1985)

This commit is contained in:
Jacky Zhao 2025-05-28 16:36:25 -07:00
parent bc16822d14
commit 096ef220dc

View File

@ -43,9 +43,7 @@ Want to customize it even more?
- Removing explorer: remove `Component.Explorer()` from `quartz.layout.ts` - Removing explorer: remove `Component.Explorer()` from `quartz.layout.ts`
- (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 - (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
- Changing `sort`, `filter` and `map` behavior: explained in [[#Advanced customization]] - Changing `sort`, `filter` and `map` behavior: explained in [[#Advanced customization]]
- Component: - Component: `quartz/components/Explorer.tsx`
- Wrapper (Outer component, generates file tree, etc): `quartz/components/Explorer.tsx`
- Explorer node (recursive, either a folder or a file): `quartz/components/ExplorerNode.tsx`
- Style: `quartz/components/styles/explorer.scss` - Style: `quartz/components/styles/explorer.scss`
- Script: `quartz/components/scripts/explorer.inline.ts` - Script: `quartz/components/scripts/explorer.inline.ts`
@ -188,7 +186,7 @@ Component.Explorer({
> and passing it in. > and passing it in.
> >
> ```ts title="quartz.layout.ts" > ```ts title="quartz.layout.ts"
> import { Options } from "./quartz/components/ExplorerNode" > import { Options } from "./quartz/components/Explorer"
> >
> export const mapFn: Options["mapFn"] = (node) => { > export const mapFn: Options["mapFn"] = (node) => {
> // implement your function here > // implement your function here