Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export default App;
| |type|required|default value|description|
|---|--- |--- |--- |--- |
|**handleNewUserMessage**|PropTypes.func|YES| |Function to handle the user input, will receive the full text message when submitted|
|**id**|PropTypes.string|NO|'rcw-chat-container'|Id of the widget, overridable if you have more than one in DOM|
|**title**|PropTypes.string|NO|'Welcome'|Title of the widget|
|**subtitle**|PropTypes.string|NO|'This is your chat subtitle'|Subtitle of the widget|
|**senderPlaceHolder**|PropTypes.string|NO|'Type a message...'|The placeholder of the message input|
Expand All @@ -163,6 +164,8 @@ export default App;
|**autofocus**|PropTypes.bool|NO|true|Autofocus or not the user input|
|**launcher**|PropTypes.func|NO||Custom Launcher component to use instead of the default|
|**handleQuickButtonClicked**|PropTypes.func|NO||Function to handle the user clicking a quick button, will receive the 'value' when clicked.|
|**launcherOpenLabel**|PropTypes.string|NO|'Open chat'|Text used by screen readers for the button to open chat|
|**launcherCloseLabel**|PropTypes.string|NO|'Close chat'|Text used by screen readers for the button to close chat|

#### Styles

Expand Down
Loading