Skip to content

Commit

Permalink
fix: jsx transform
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Apr 13, 2023
1 parent e1d12db commit ef0ca90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/light-guests-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@svbstrate/react-native": patch
---

Update `tsconfig.json` to use `react` instead of `react-native`, which ensures that JSX is transformed
2 changes: 1 addition & 1 deletion packages/react-native/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../../tsconfig.json",
"include": ["lib"],
"compilerOptions": {
"jsx": "react-native",
"jsx": "react",
"declarationDir": "dist"
}
}

0 comments on commit ef0ca90

Please sign in to comment.