@flowengage/react-chatbot 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -77,6 +77,12 @@ export default function App() {
77
77
 
78
78
  Ensure the package resolves once at app level so you do not mount duplicate providers.
79
79
 
80
+ ### Dashboard styling vs code (`widgetSettings`)
81
+
82
+ Use **only** `siteId` (and optional `apiBaseUrl` for local dev) on `FlowEngageProvider` so the widget **loads branding, theme, greetings, and recommendations from the FlowEngage dashboard** on every page load—same as the CDN embed.
83
+
84
+ If you also pass `config={{ widgetSettings: { ... } }}`, those fields act as **defaults only**; **saved dashboard settings override** them. Avoid pasting a full widget JSON into your app unless you intentionally want offline defaults; otherwise you would have to update code after each dashboard change.
85
+
80
86
  ---
81
87
 
82
88
  ## B. CDN / script tag (no React project required)