Skip to content

Commit

Permalink
Fix case on "canMoveOut"
Browse files Browse the repository at this point in the history
Documentation said "canMoveout" instead of "canMoveOut"
  • Loading branch information
jmschneider authored Feb 19, 2020
1 parent 5564f7f commit f563249
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/docs/api/UserComponent.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ A wrapper of `React.ComponentType<Props>`. Accepts a static `craft` property for
["rules?", [
["canDrag", "(currentNode: Node, helpers: NodeHelpers) => boolean", "Specifies if a component can be dragged. Applicable only to components whose corresponding `Node` is a direct child of a `Canvas`."],
["canMoveIn", "(incomingNode: Node, currentNode: Node, helpers: NodeHelpers) => boolean", "Decides if an incoming Node can be dropped into the current component. Applicable only to components whose corresponding `Node` is a `Canvas`."],
["canMoveout", "(outgoingNode: Node, currentNode: Node, helpers: NodeHelpers) => boolean", "Decides if a child Node can be dragged out of the current component. Applicable only to components whose corresponding `Node` is a `Canvas`."],
["canMoveOut", "(outgoingNode: Node, currentNode: Node, helpers: NodeHelpers) => boolean", "Decides if a child Node can be dragged out of the current component. Applicable only to components whose corresponding `Node` is a `Canvas`."],
]],

]]
Expand Down Expand Up @@ -67,4 +67,4 @@ TextComponent.craft = {
settings: TextSettings
}
}
```
```

0 comments on commit f563249

Please sign in to comment.