@@ -7,7 +7,7 @@ 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- - ** Supported Chatwoot version:** 1.18 .0+
10+ - ** Supported Chatwoot version:** 2.16 .0+
1111
1212<img src =" https://user-images.githubusercontent.com/12408980/203909820-938136a6-bf5b-433e-9f68-d7f28a1303be.png " alt =" screenshot " width =" 350 " >
1313
@@ -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
181189If there's anything you'd like to chat about, please feel free to join our [ Discord] ( https://discord.gg/cJXdrwS ) chat!
182190
183- _ Chatwoot_ © ; 2017-2022 , Chatwoot Inc - Released under the MIT License.
191+ _ Chatwoot_ © ; 2017-2023 , Chatwoot Inc - Released under the MIT License.
0 commit comments