Skip to content

Commit

Permalink
fixup! docs: add/adapt examples
Browse files Browse the repository at this point in the history
  • Loading branch information
EdJoPaTo committed Mar 12, 2024
1 parent 0c06ca9 commit fad983b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ menuTemplate.interact('unique', {
### How can I show a URL button?

```ts
menuTemplate.url({text: 'Text', url: 'https://edjopato.de'});
menuTemplate.url({ text: 'Text', url: 'https://edjopato.de' });
```

### How can I display two buttons in the same row?
Expand Down Expand Up @@ -404,7 +404,7 @@ submenuTemplate.interact('unique', {
});
submenuTemplate.manualRow(createBackMainMenuButtons());

menuTemplate.submenu('unique', submenuTemplate, {text: 'Text'});
menuTemplate.submenu('unique', submenuTemplate, { text: 'Text' });
```

### How can I use a submenu with many choices?
Expand Down

0 comments on commit fad983b

Please sign in to comment.