Skip to content

Commit a1f8089

Browse files
Fix typo in Snaps JSX documentation (#1482)
1 parent 2ed9847 commit a1f8089

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snaps/features/custom-ui/with-jsx.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ For use in [interactive UI](interactive-ui.md).
216216
- `name`: `string` - (Optional) The name that will be sent to [`onUserInput`](../../reference/entry-points.md#onuserinput)
217217
when a user selects the button.
218218
- `variant` - (Optional) Determines the appearance of the button.
219-
Possible values are `"primary"` or `"secondary"`.
219+
Possible values are `"primary"` or `"destructive"`.
220220
The default is `"primary"`.
221221

222222
#### Example
@@ -732,4 +732,4 @@ await snap.request({
732732

733733
<p align="center">
734734
<img src={require("../../assets/custom-ui-emojis.png").default} alt="Emojis UI example" width="450px" style={{border: "1px solid #DCDCDC"}} />
735-
</p>
735+
</p>

0 commit comments

Comments
 (0)