Skip to content

Commit

Permalink
Add missing reference to text in docs (#11)
Browse files Browse the repository at this point in the history
- Adds a missing reference to the Text docs inside the text
customization example
  • Loading branch information
timomeh authored Mar 6, 2024
1 parent b15c2e0 commit 87b5793
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/porting-embed.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ See also:

The embed ships with default text in english, but you can override any text that is rendered by the embed, if you want to support a different language or customize the text otherwise.

You don't have to provide all text overrides. Your overrides will be merged into the default text.

```js
const embed = await PortingEmbed(session, {
options: {
Expand All @@ -187,6 +189,9 @@ const embed = await PortingEmbed(session, {
})
```

See also:
- [Text](#text) for a list of all text overrides.

### Continue after all fields were filled out

When the user entered all fields in all steps of the wizard, the embed will not render any UI anymore. You can handle this in your app by listening for the `completed` event.
Expand Down

0 comments on commit 87b5793

Please sign in to comment.