Skip to content

Commit f98ab70

Browse files
committed
update doc
1 parent 17395a9 commit f98ab70

File tree

1 file changed

+23
-6
lines changed

1 file changed

+23
-6
lines changed

README.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ chatwoot-react-native-widget
77
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)
88
![](https://img.shields.io/npm/l/@chatwoot/@chatwoot/react-native-widget)
99

10-
1110
- **Supported Chatwoot version:** 1.13.2+
1211

1312
<img src="https://user-images.githubusercontent.com/12408980/112000864-99ef4d80-8adb-11eb-94c1-9901a13b4dd4.png" alt="screenshot" width="350">
@@ -127,16 +126,34 @@ The whole example is in the `/example` folder.
127126
</tr></thead>
128127
<tbody>
129128
<tr>
129+
<td>baseUrl</td>
130+
<td> - </td>
131+
<td> String </td>
132+
<td>Chatwoot installation URL</td>
133+
</tr>
134+
<tr>
130135
<td>websiteToken</td>
131136
<td> - </td>
132137
<td> String </td>
133-
<td>The website token copyied from website channel</td>
138+
<td>Website channel token</td>
134139
</tr>
135140
<tr>
136-
<td>baseUrl</td>
137-
<td> - </td>
141+
<td>locale</td>
142+
<td> en </td>
138143
<td> String </td>
139-
<td>Chatwoot installation url</td>
144+
<td>Locale</td>
145+
</tr>
146+
<tr>
147+
<td>isModalVisible</td>
148+
<td> false </td>
149+
<td> Boolean </td>
150+
<td>Widget is visible or not</td>
151+
</tr>
152+
<tr>
153+
<td>closeModal</td>
154+
<td> - </td>
155+
<td> Function </td>
156+
<td>Close event</td>
140157
</tr>
141158
<tr>
142159
<td>user</td>
@@ -145,7 +162,7 @@ The whole example is in the `/example` folder.
145162
<td>User information about the user like email, username and avatar_url</td>
146163
</tr>
147164
<tr>
148-
<td>customattributes</td>
165+
<td>customAttributes</td>
149166
<td> {} </td>
150167
<td> Object </td>
151168
<td>Additional information about the customer</td>

0 commit comments

Comments
 (0)