Skip to content

Commit 3bfc280

Browse files
committed
fix: Fix docs example for setting header background
1 parent 66122eb commit 3bfc280

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/introduction/bot_options.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Each of these two categories contain `sections` (which in turn contains `propert
1515
- `advance: {useCustomMessages: true}`
1616
- `audio: {disabled: false}`
1717
- `theme: {primaryColor: "#ff0000", embedded: true}`
18-
- `headerStyle: {backgroundColor: "#00ff00", color: "#0000ff"}`
18+
- `headerStyle: {background: "#00ff00", color: "#0000ff"}`
1919
- `footerStyle: {fontSize: 12}`
2020

2121
:::tip Tip
@@ -108,7 +108,7 @@ import { ChatBot } from 'react-chatbotify';
108108
const options = {
109109
// ...other configurations
110110
headerStyle: {
111-
backgroundColor: '#42b0c5',
111+
background: '#42b0c5',
112112
color: '#ffffff',
113113
padding: '10px',
114114
},

0 commit comments

Comments
 (0)