Skip to content

Commit

Permalink
feat(action): 完善action文档
Browse files Browse the repository at this point in the history
  • Loading branch information
SzHeJason committed Aug 7, 2018
1 parent 44c684a commit 73b4abe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/markdown/modal.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ import { AtModal, AtModalHeader, AtModalContent, AtModalAction } from "taro-ui"
<AtModal>
<AtModalHeader>标题</AtModalHeader>
<AtModalContent>
<View className='modal-content'>
<View>
这里是正文内容,欢迎加入京东凹凸实验室
这里是正文内容,欢迎加入京东凹凸实验室
这里是正文内容,欢迎加入京东凹凸实验室
</View>
</AtModalContent>
<AtModalAction>
<Button>取消</Button>
<Button className='serious-button'>
<Button>
确定
</Button>
</AtModalAction>
Expand Down
8 changes: 7 additions & 1 deletion docs/markdown/toast.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ import { AtToast } from "taro-ui"
:::demo

```html
<AtToast></AtToast>
<AtToast
text={text}
isOpened={isOpened}
iconSize={iconSize}
iconType={iconType}
iconColor={iconColor}
isHiddenIcon={isHiddenIcon}></AtToast>
```

:::
Expand Down

0 comments on commit 73b4abe

Please sign in to comment.