Skip to content

Commit

Permalink
docs: Reorder content in expandable section for tags with attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn authored Sep 17, 2024
1 parent d9f388a commit 172e535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/docs/usage/messages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,6 @@ t.rich('message', {
});
```

For the use case of localizing pathnames, consider using [`createLocalizedPathnamesNavigation`](/docs/routing/navigation).

In case you have attribute values that are required to be configured as part of your messages, you can retrieve them from a separate message and pass them to another one as an attribute:

```json filename="en.json"
Expand All @@ -410,6 +408,8 @@ t.rich('message', {
});
```

For the use case of localizing pathnames, consider using [`createLocalizedPathnamesNavigation`](/docs/routing/navigation).

</Details>

## HTML markup
Expand Down

0 comments on commit 172e535

Please sign in to comment.