Skip to content

Commit 555339a

Browse files
committed
Fix react-native-confetti's JSX fragment usage
It now requires an explicit import of React in order to use JSX fragments. Here is the Typescript 5.7 PR that introduced this error: microsoft/TypeScript#59933
1 parent 24a32d6 commit 555339a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/react-native-confetti/react-native-confetti-tests.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FC, useRef } from "react";
1+
import React, { FC, useRef } from "react";
22
import { Button } from "react-native";
33
import Confetti from "react-native-confetti";
44

0 commit comments

Comments
 (0)