Skip to content

Commit

Permalink
Update RN docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLipan committed Sep 26, 2018
1 parent c08ad2d commit e84f163
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ReactNative/docs/APIs.md
Original file line number Diff line number Diff line change
Expand Up @@ -583,11 +583,11 @@ Customize ChatInput feature and layout。
Eample:

```
// You can put item into ChatInput's left/right/bottom part,(Can be repeated but not recommended)
// You can put item into ChatInput's left/right/bottom part,(Can’t be repeated)
customLayoutItems={{
left: ['voice'],
right: ['send'],
bottom: ['gallery','emoji','camera','camera']
bottom: ['gallery','emoji','camera']
}}
Expand Down Expand Up @@ -709,7 +709,7 @@ Fires when click record video button.

Fires when finished recording video.

Result's type is ```{mediaPath: string, durationTime: number}```
Result's type is ```{mediaPath: string, duration: number}```

------

Expand Down
6 changes: 3 additions & 3 deletions ReactNative/docs/APIs_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -582,11 +582,11 @@ Example: `messageTextLineHeight={5}`
Eample:

```
// 可以在 ChatInput 的 left/right/bottom 放置各功能 item,(可以重复但不建议)
// 可以在 ChatInput 的 left/right/bottom 放置各功能 item,(不可以重复)
customLayoutItems={{
left: ['voice'],
right: ['send'],
bottom: ['gallery','emoji','camera','camera']
bottom: ['gallery','emoji','camera']
}}
Expand Down Expand Up @@ -704,7 +704,7 @@ Example: `inputTextLineHeight={2}`

**PropTypes.function:**``` (result) => {}```

完成录制视频触发,result 参数为 ```{mediaPath: string, durationTime: number}```
完成录制视频触发,result 参数为 ```{mediaPath: string, duration: number}```

***

Expand Down

0 comments on commit e84f163

Please sign in to comment.