Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
cwtuan committed Dec 24, 2018
1 parent d6091bd commit af9c905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ intl.get('HELLO', { name }).d(`Hello, ${name}`); // "Hello, Tony"
And `getHTML` also supports default message.
```jsx
const name = 'Tony';
intl.getHTML('HELLO').d(<div>hello, {name}</div>) // React.Element with "<div>Hello, Tony</div>"
intl.getHTML('HELLO').d(<div>Hello, {name}</div>) // React.Element with "<div>Hello, Tony</div>"
```


Expand Down

0 comments on commit af9c905

Please sign in to comment.