Skip to content

Commit

Permalink
Updated custom nodes with notes
Browse files Browse the repository at this point in the history
  • Loading branch information
liamross committed Oct 15, 2018
1 parent 874623e commit 0b8a964
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/in-depth/custom-nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ constructor(props: P) {
initialize(): void;
```

The initialize method **must** be overwritten.
> The initialize method **must** be overwritten.
Initialize is called when the Node is being mounted into the DOM. You can build
visual SVG components and add them to the group using
Expand Down Expand Up @@ -150,7 +150,7 @@ none of these are needed, you do not need to overwrite this function.

### width

Width get and set **must** be overwritten.
> Width get and set **must** be overwritten.
#### get

Expand Down Expand Up @@ -214,7 +214,7 @@ set width(width: number) {

### height

Height get and set **must** be overwritten.
> Height get and set **must** be overwritten.
#### get

Expand Down

0 comments on commit 0b8a964

Please sign in to comment.