Skip to content

Commit 4ff561e

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

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} 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)