Open Singh-Kanchan opened 3 years ago
Theme Provider has no effect
App.js -
import React from "react"; import { ThemeProvider } from "styled-components"; import ChatBot from "react-native-chatbot";
const App = () => { return (
); };
const steps = [ { id: "1", message: "Hello World", end: true } ];
const theme = { background: "#000", fontFamily: "sans", headerBgColor: "#3333ff", headerFontColor: "#fff", headerFontFamily: "Montseratt", botBubbleColor: "#3333ff", botFontColor: "#fff", userBubbleColor: "#fff", userFontColor: "#4a4a4a", fontSize: 32 };
export default App;
Description
Theme Provider has no effect
App.js -
import React from "react"; import { ThemeProvider } from "styled-components"; import ChatBot from "react-native-chatbot";
const App = () => { return (
); };
const steps = [ { id: "1", message: "Hello World", end: true } ];
const theme = { background: "#000", fontFamily: "sans", headerBgColor: "#3333ff", headerFontColor: "#fff", headerFontFamily: "Montseratt", botBubbleColor: "#3333ff", botFontColor: "#fff", userBubbleColor: "#fff", userFontColor: "#4a4a4a", fontSize: 32 };
export default App;