Skip to content

Commit

Permalink
Merge pull request #173 from n7best/master
Browse files Browse the repository at this point in the history
alpha version notes
  • Loading branch information
n7best committed Dec 24, 2016
2 parents 81942f4 + 4afc979 commit 21c7ade
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ With React Installed
npm install weui@1.1.0 react-weui --save
```

To use the development version (`API might changes on realese version`)

```
npm install react-weui@alpha --save
```

## Example

We have several examples on the documentation. Here is the first one to get you started:
Expand Down
15 changes: 15 additions & 0 deletions docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,21 @@
"icon": "http://weui.github.io/weui/images/icon_nav_panel.png",
"preview" : "Badge",
"component" : "badge/badge"
},
{
"name": "PullToRefresh",
"version": "1.0.4",
"icon": "http://weui.github.io/weui/images/icon_nav_panel.png",
"preview" : "PTR",
"component" : "ptr/ptr"
},
{
"name": "InfiniteLoader",
"version": "1.0.4",
"icon": "http://weui.github.io/weui/images/icon_nav_panel.png",
"preview" : "Infinite",
"code" : "infiniteloader/index",
"component" : "infiniteloader/infiniteloader"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/generateMarkdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function generatePropType(type) {
}

function generatePropDefaultValue(value) {
return '`' + value.value + '`';
return value.value.length < 10 ? '`' + value.value + '`' : '';
}

function generateProp(propName, prop, langs) {
Expand Down

0 comments on commit 21c7ade

Please sign in to comment.