Skip to content

Commit f260a63

Browse files
committed
chore: update JSX config and remove unnecessary React imports
1 parent 88d6aac commit f260a63

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

example/src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import { createBottomTabNavigator } from "@react-navigation/bottom-tabs";
99
import { createStaticNavigation } from "@react-navigation/native";
10-
import type React from "react";
1110
import { EmptyTab } from "./EmptyTab";
1211
import { FastImageTab } from "./FastImageTab";
1312
import { NitroImageTab } from "./NitroImageTab";

src/NitroWebImage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import type React from "react";
21
import { useMemo } from "react";
32
import { loadImageFromThumbHash } from "./ImageFactory";
43
import { thumbHashFromBase64String } from "./ImageUtils";

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"allowUnusedLabels": false,
99
"esModuleInterop": true,
1010
"forceConsistentCasingInFileNames": true,
11-
"jsx": "react",
11+
"jsx": "react-jsx",
1212
"lib": ["esnext"],
1313
"module": "esnext",
1414
"moduleResolution": "node",

0 commit comments

Comments
 (0)