Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
HcySunYang committed Oct 23, 2018
1 parent a69ec98 commit 03054bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ In this way, the description of the prop will be included in the document, as sh
In addition, we also notice that the `type` of prop called `name` is automatically obtained from the `type` attribute, but sometimes we need to show the user a more explicit choice, then we only need to add leading comments to the type attribute, as shown below:

```js
// The name of the form
props: {
// The name of the form
name: {
// `'TOP'` / `'BOTTOM'`
type: String
Expand All @@ -311,8 +311,8 @@ The generated document is as follows:
Similarly, we can specify default values:

```js
// The name of the form
props: {
// The name of the form
name: {
// `'TOP'` / `'BOTTOM'`
type: String,
Expand Down

0 comments on commit 03054bc

Please sign in to comment.