Skip to content

Commit

Permalink
docs: fix typo in setCustom
Browse files Browse the repository at this point in the history
  • Loading branch information
prevwong committed Jan 17, 2020
1 parent 8a387f5 commit b7ddab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/docs/api/useEditor.md
Original file line number Diff line number Diff line change
Expand Up @@ -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", [
Expand Down

0 comments on commit b7ddab2

Please sign in to comment.