From 5b34d8e725be2b4f14f6bebb21ed140556622b65 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Thu, 27 Jul 2023 07:52:24 -0300 Subject: [PATCH] Added note to JSONs on docs --- docs/docs/guidelines/widget.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/docs/guidelines/widget.mdx b/docs/docs/guidelines/widget.mdx index 1fcdf7891..c352ddb24 100644 --- a/docs/docs/guidelines/widget.mdx +++ b/docs/docs/guidelines/widget.mdx @@ -57,7 +57,7 @@ import ReactPlayer from "react-player";
- Further down, we will explain how to use this code with HTML and React. + Further down, we will explain how to use this code with HTML, React and Angular.
--- @@ -170,6 +170,10 @@ You now have the flexibility to utilize the Chat Widget seamlessly in any Angula Use the widget API to customize your widget: +:::caution +Props with the type JSON need to be passed as Stringified JSONs, as such: '{"key": "value"}'. +::: + | Prop | Type | Required | Description | | --------------------- | ------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | | bot_message_style | JSON | No | Applies custom formatting to bot messages. |