Skip to content

Commit 1153457

Browse files
authored
Merge branch 'main' into nitin/fix-contextmenu-shiftf10
2 parents 525ebd2 + 25db080 commit 1153457

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "Fix TextWin32 export",
4+
"packageName": "@office-iss/react-native-win32",
5+
"email": "30809111+acoates-ms@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}

packages/@office-iss/react-native-win32/src-win/index.win32.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ module.exports = {
446446
},
447447
get TextWin32(): any {
448448
// Legacy export
449-
return require('./Libraries/Text/Text');
449+
return require('./Libraries/Text/Text').default;
450450
},
451451
get ButtonWin32(): any {
452452
return require('./Libraries/Components/Button/ButtonWin32').ButtonWin32;

0 commit comments

Comments
 (0)