react-native-chatbot icon indicating copy to clipboard operation
react-native-chatbot copied to clipboard

how to change the backgroundColor of the chatbot ?

Open raphaelzerbib opened this issue 7 years ago • 3 comments

capture d ecran 2018-07-07 a 12 39 31

capture d ecran 2018-07-07 a 12 34 39

raphaelzerbib avatar Jul 07 '18 10:07 raphaelzerbib

@raphaelzerbib you do it via contentStyle prop Amend your code should be an {..} not [{...}]

patrykwegrzyn avatar Aug 25 '18 17:08 patrykwegrzyn

add scrollViewProps to your chatbot with styling like this:

scrollViewProps={
  {
      style: {
          backgroundColor: '#fff', paddingTop: 4,
      }
  }
}

kmbro avatar Mar 09 '19 03:03 kmbro

render() { return( <ChatBot steps={this.state.steps} botBubbleColor={"#FFFFFF"} optionBubbleColor={'#6072e6'} optionFontColor={"#FFFFFF"} botBubbleColor={"#FFFFFF"} botFontColor={"#000000"} /> ) }

refer: https://lucasbassetti.com.br/react-simple-chatbot/#/docs/themes

a

nithinnaidu03 avatar Apr 29 '20 12:04 nithinnaidu03