File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff 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
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.
You can’t perform that action at this time.
0 commit comments