Skip to content

Commit c9631b7

Browse files
committed
Update README.md
1 parent aea5ca0 commit c9631b7

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ const App = () => {
6161
const websiteToken = 'WEBSITE_TOKEN';
6262
const baseUrl = 'CHATWOOT_INSTALLATION_URL';
6363
const locale = 'en';
64+
const colorScheme='dark'
6465
6566
return (
6667
<SafeAreaView style={styles.container}>
@@ -79,6 +80,7 @@ const App = () => {
7980
isModalVisible={showWidget}
8081
user={user}
8182
customAttributes={customAttributes}
83+
colorScheme={colorScheme}
8284
/>
8385
}
8486
@@ -142,6 +144,12 @@ The whole example is in the `/example` folder.
142144
<td>Website channel token</td>
143145
</tr>
144146
<tr>
147+
<td>colorScheme</td>
148+
<td> light </td>
149+
<td> String </td>
150+
<td>Widget color scheme (light/dark/auto)</td>
151+
</tr>
152+
<tr>
145153
<td>locale</td>
146154
<td> en </td>
147155
<td> String </td>
@@ -180,4 +188,4 @@ Feel free to send us feedback on [Twitter](https://twitter.com/chatwootapp) or [
180188

181189
If there's anything you'd like to chat about, please feel free to join our [Discord](https://discord.gg/cJXdrwS) chat!
182190

183-
_Chatwoot_ &copy; 2017-2022, Chatwoot Inc - Released under the MIT License.
191+
_Chatwoot_ &copy; 2017-2023, Chatwoot Inc - Released under the MIT License.

0 commit comments

Comments
 (0)