Skip to content

Commit 3c6e539

Browse files
authored
Update chat.mdx (mintlify#243)
1 parent 6931b85 commit 3c6e539

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

advanced/widget/chat.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,12 @@ In the first script tag or the React component props, you can customize the appe
7575

7676
#### MintlifyWidgetDisplayTriggerProps
7777

78-
| Prop | Type | Description |
79-
| ------------- | ------------------------------------ | -------------------------------------------------------------------------------------- |
80-
| `type?` | `'button'` \| `'input'` | Type of the trigger to display. Defaults to `button`. |
81-
| `buttonIcon?` | `'chat'` \| `'sparkles'` \| `'mintlify'` | Icon used in the trigger. Only available for the `button` trigger. Defaults to `chat`. |
82-
| `iconOnly?` | `boolean` | Only show icon in the trigger or not. Defaults to `false`. |
78+
| Prop | Type | Description |
79+
| ------------- | ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
80+
| `type?` | `'button'`\|`'input'` | Type of the trigger to display. Defaults to `button`. |
81+
| `label?` | `string` | Label displayed in the trigger. Defaults to `Get help` for the button trigger and `Ask anything...` for the input trigger. |
82+
| `buttonIcon?` | `'chat'`\|`'sparkles'`\|`'mintlify'` | Icon used in the trigger. Only available for the `button` trigger. Defaults to `chat`. |
83+
| `iconOnly?` | `boolean` | Only show icon in the trigger or not. Defaults to `false`. |
8384

8485
Here is an overview of what the trigger looks like with different configurations.
8586

0 commit comments

Comments
 (0)