Skip to content

Commit

Permalink
docs: Import from use-intl/core for non-React apps
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed Aug 22, 2024
1 parent fb5a73b commit 7f423be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/docs/environments/core-library.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ These APIs receive all relevant configuration directly and don't rely on global
You can use these APIs as follows:

```tsx
import {createTranslator, createFormatter} from 'use-intl';
import {createTranslator, createFormatter} from 'use-intl/core';

const messages = {
basic: 'Hello {name}!',
Expand Down

0 comments on commit 7f423be

Please sign in to comment.