Skip to content

Commit

Permalink
fix(expo-router): toggle component (#146 by @frankcalise)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankcalise authored Mar 19, 2024
1 parent 1d71f59 commit 5459c32
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/recipes/ExpoRouter.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,16 @@ import { isRTL } from "app/i18n";
import { isRTL } from "src/i18n";
```

**`src/components/Toggle.ts`**

```ts
// error-line
import { isRTL } from "app/i18n";
// success-line
import { isRTL } from "src/i18n";
```


<details>
<summary>(optional) Additional files to update</summary>

Expand Down

0 comments on commit 5459c32

Please sign in to comment.