Skip to content

Commit

Permalink
docs: update extend-builtin-ui.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jiming committed Jan 13, 2022
1 parent f0be114 commit 9639ea2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/docs/guides/extend-builtin-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ molecule.folderTree.onSelectFile((file: IFolderTreeNodeProps) => {
For more information about the use of FolderTree, please refer to the [API](../api/classes/molecule.FolderTreeService) documentation.

:::caution
We don't have default node removal logic built into FolderTree, but you can customize it using the `onRemove` method.
We don't have default node removal logic built into FolderTree, but you can customize it using `remove` method.
:::

## [EditorTree](../api/interfaces/molecule.IEditorTreeService)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ molecule.folderTree.onSelectFile((file: IFolderTreeNodeProps) => {
更多关于 FolderTree 的使用,请参考 [API](../api/classes/molecule.FolderTreeService) 文档。

:::caution
我们没有在 FolderTree 中内置默认的节点移除逻辑,开发者可以使用 `onRemove` 方法来自定义。
我们没有在 FolderTree 中内置默认的节点移除逻辑,开发者可以使用 `remove` 方法来自定义。
:::

## [编辑器树(EditorTree)](../api/interfaces/molecule.IEditorTreeService)
Expand Down

0 comments on commit 9639ea2

Please sign in to comment.