Skip to content

Commit 00cbf80

Browse files
committed
fix: fix doc for rich text formatting
1 parent 594a807 commit 00cbf80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Components.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ By allowing embedding XML tag we want to make sure contextual information is not
468468

469469
```tsx
470470
<FormattedMessage
471-
defaultMessage="To buy a shoe, <a>visit our website</a> and <cta>buy a shoe</cta>"
471+
defaultMessage="To buy a shoe, <link>visit our website</link> and <cta>buy a shoe</cta>"
472472
values={{
473473
link: msg => (
474474
<a class="external_link" target="_blank" href="https://www.shoe.com/">

0 commit comments

Comments
 (0)