Skip to content

Commit

Permalink
1.5.0 build
Browse files Browse the repository at this point in the history
  • Loading branch information
bkrem committed Oct 7, 2017
1 parent 8f18700 commit 30ccff4
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
14 changes: 12 additions & 2 deletions docs/components/Node.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ type: `object`
defaultValue: `undefined`


### `circleRadius` (required)
### `circleRadius`

type: `number`
defaultValue: `undefined`


### `name` (required)
Expand All @@ -27,6 +28,11 @@ type: `string`
type: `object`


### `nodeSvgShape` (required)

type: `object`


### `onClick` (required)

type: `func`
Expand Down Expand Up @@ -56,10 +62,14 @@ defaultValue: `{

### `textAnchor`

type: `string`
defaultValue: `'start'`


### `textLayout` (required)

type: `object`


### `transitionDuration` (required)

type: `number`
Expand Down
23 changes: 22 additions & 1 deletion docs/components/Tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Props
### `circleRadius`

type: `number`
defaultValue: `10`
defaultValue: `undefined`


### `collapsible`
Expand Down Expand Up @@ -41,6 +41,17 @@ type: `shape[object Object]`
defaultValue: `{ x: 140, y: 140 }`


### `nodeSvgShape`

type: `shape[object Object]`
defaultValue: `{
shape: 'circle',
shapeProps: {
r: 10,
},
}`


### `onClick`

type: `func`
Expand Down Expand Up @@ -77,6 +88,16 @@ type: `shape[object Object]`
defaultValue: `{}`


### `textLayout`

type: `object`
defaultValue: `{
textAnchor: 'start',
x: 10,
y: -10,
}`


### `transitionDuration`

type: `number`
Expand Down
Loading

0 comments on commit 30ccff4

Please sign in to comment.