Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ste7en committed Dec 1, 2017
1 parent e5793da commit e821dfe
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
* #### props


prop | descripton | type | default
-------------- | ---------------------------- |:---------------------: | --------------------
data | | `Object` |
props | configure props | `Object` | `{label: 'label', children: 'children', expand: 'expand'}`
labelWidth | node label width | `String` \| `Number`. | `auto`
collapsable | children node is collapsable | `Boolean` | `true`
renderContent | how to render node label | `Function` | -
labelClassName | node label class | `Function` \| `String` | -
prop | descripton | type | default
---------------|------------------------------|:----------------------:|---------------------
data | | `Object` |
props | configure props | `Object` | `{label: 'label', children: 'children', expand: 'expand'}`
labelWidth | node label width | `String` \| `Number`. | `auto`
collapsable | children node is collapsable | `Boolean` | `true`
renderContent | how to render node label | `Function` | -
labelClassName | node label class | `Function` \| `String` | -


* ### events
Expand All @@ -34,18 +34,20 @@ labelClassName | node label class | `Function` \| `String` | -

- default

![](./images/default.png)
![default](./images/default.png)

- horizontal

![](./images/horizontal.png)
![horizontal](./images/horizontal.png)

## Browser support

use table layout!

> IE9+、Chrome、Firefox、Opera


## Build Setup

``` bash
Expand Down

0 comments on commit e821dfe

Please sign in to comment.