Skip to content

Commit 02b848d

Browse files
committed
feat: add neural state
1 parent 65c4dbb commit 02b848d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/customization/layout.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The table below lists all the available properties you can set:
3232
| `modal-position` | **Type**: `string`<br />**Default value**: `center`<br />**Available values:** `center`, `sidebar-right`, `sidebar-left`, `top-right`, `top-left`, `bottom-right`, `bottom-left`, `center-right`, `center-left`<br /><br />Position of the feedback modal.|
3333
| `hide-privacy-policy` | **Type**: `boolean`<br />**Default value**: `true`<br /><br />Whether to hide the privacy policy checkbox. |
3434
| `privacy-policy-text` | **Type**: `boolean`<br />**Default value**: `I have read and expressly consent to the terms of the <a href='https://pushfeedback.com/privacy'>Privacy Policy</a>.`<br /><br />Privacy policy text. |
35-
| `rating` | **Type**: `number`<br />**Default value**: None <br /><br /> Rating selected by default. **Available values:** 1...5. In `thumbs` mode, `0` means thumbs down and `1` thumbs up.|
35+
| `rating` | **Type**: `number`<br />**Default value**: -1 (neutral) <br /><br /> Rating selected by default. **Available values:** `stars` mode: 1...5. `thumbs` mode: `0` dislike and `1` like. `-1` means neutral in both modes. |
3636
| `hide-ratings` | **Type**: `boolean`<br />**Default value**: `false` <br /><br /> Wether to hide the ratings input. |
3737
| `rating-mode` | **Type**: `string`<br />**Default value**: `thumbs` <br /><br /> **Available values:** `thumbs`, `stars`<br /><br />Type of rating system.|
3838
| `sessionId` | **Type**: `string`<br />**Default value**: Autogenerated <br /><br /> Identifies the current user session. By default, this value is autogenerated if not provided. You can override it to specify a custom session ID, which can be useful for tracking or linking specific sessions across different analytics tools. |

0 commit comments

Comments
 (0)