From b7ddab297ebee84859ca04a1168d37e8c4eb0b54 Mon Sep 17 00:00:00 2001 From: Prev Wong Date: Fri, 17 Jan 2020 12:47:43 +0800 Subject: [PATCH] docs: fix typo in setCustom --- packages/docs/docs/api/useEditor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/docs/api/useEditor.md b/packages/docs/docs/api/useEditor.md index 1e6d7aebb..f1d17b716 100644 --- a/packages/docs/docs/api/useEditor.md +++ b/packages/docs/docs/api/useEditor.md @@ -40,8 +40,8 @@ const { connectors, actions, query, ...collected } = useEditor(collector); ["deserialize", "() => String", "Recreate Nodes from JSON. This will clear all the current Nodes in the editor state with the recreated Nodes"], ["move", "(nodeId: NodeId, targetParentId: NodeId, index: number) => void", "Move a Node to the specified parent Node at the given index."], ["setProp", "(nodeId: NodeId, update: (props: Object) => void) => void", "Manipulate the props of the given Node"], + ["setCustom", "(nodeId: NodeId, update: (custom: Object) => void) => void", "Manipulate the custom values of the given Node"], ["setHidden", "(nodeId: NodeId, bool: boolean) => void", "When set to true, the User Component of the specified Node will be hidden, but not removed"], - ["setCustom", "(nodeId: NodeId, custom: (custom: Object) => void", "Update the given Node's custom properties"], ["setOptions", "(options: Object) => void", "Update the editor's options. The options object passed is the same as the <Editor /> props."] ]], ["query", "Query", [