Skip to content

Commit e1ded73

Browse files
authored
fix: fix TextPropsMacOS using the wrong MouseEvent type (#2507)
## Summary: `TextPropsMacOS` has been using `MouseEvent` defined by web as opposed to React's. ## Test Plan: n/a
1 parent ce68f92 commit e1ded73

File tree

1 file changed

+1
-0
lines changed
  • packages/react-native/Libraries/Text

1 file changed

+1
-0
lines changed

packages/react-native/Libraries/Text/Text.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import {TextStyle, ViewStyle} from '../StyleSheet/StyleSheetTypes';
1616
import {
1717
GestureResponderEvent,
1818
LayoutChangeEvent,
19+
MouseEvent, // [macOS]
1920
NativeSyntheticEvent,
2021
TextLayoutEventData,
2122
} from '../Types/CoreEventTypes';

0 commit comments

Comments
 (0)