Closed m-bert closed 1 month ago
customDirectEventTypes import inside createHandler introduced in #2766 makes web unable to compile since react-native-web doesn't provide this object. This PR moves mentioned import into separate file and splits it into .ts and .web.ts parts
customDirectEventTypes
createHandler
react-native-web
.ts
.web.ts
Tested on web and FabricExample app.
Description
customDirectEventTypes
import insidecreateHandler
introduced in #2766 makes web unable to compile sincereact-native-web
doesn't provide this object. This PR moves mentioned import into separate file and splits it into.ts
and.web.ts
partsTest plan
Tested on web and FabricExample app.