Skip to content

Commit

Permalink
[docs] Fix localization import
Browse files Browse the repository at this point in the history
  • Loading branch information
brentvatne committed Mar 4, 2019
1 parent 28a2363 commit 8d82732
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/pages/versions/unversioned/sdk/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This API is pre-installed in [managed](../../introduction/managed-vs-bare/#manag
```javascript
import React from 'react';
import { Text } from 'react-native';
import { Localization } from 'expo-localization';
import * as Localization from 'expo-localization';
import i18n from 'i18n-js';
const en = {
foo: 'Foo',
Expand Down Expand Up @@ -46,7 +46,7 @@ export default class LitView extends React.Component {
import { Localization } from 'expo';

// in bare apps:
import * as Localization from 'expo-local-authentication';
import * as Localization from 'expo-localization';
```

### Constants
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/versions/v32.0.0/sdk/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This API is pre-installed in [managed](../../introduction/managed-vs-bare/#manag
```javascript
import React from 'react';
import { Text } from 'react-native';
import { Localization } from 'expo-localization';
import { Localization } from 'expo';
import i18n from 'i18n-js';
const en = {
foo: 'Foo',
Expand Down Expand Up @@ -46,7 +46,7 @@ export default class LitView extends React.Component {
import { Localization } from 'expo';

// in bare apps:
import * as Localization from 'expo-local-authentication';
import * as Localization from 'expo-localization';
```

### Constants
Expand Down

0 comments on commit 8d82732

Please sign in to comment.