Skip to content

Commit

Permalink
ESM UTFSequence
Browse files Browse the repository at this point in the history
Summary: Changelog: [General][Changed] - Migrate UTFSequence to ESM

Reviewed By: ryancat

Differential Revision: D42182830

fbshipit-source-id: d2b738d5ca3d5a0a7d9f41a465fc0389c2c2115f
  • Loading branch information
lunaleaps authored and facebook-github-bot committed Jan 3, 2023
1 parent e948c79 commit ac5cf32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Libraries/UTFSequence.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ const UTFSequence: {|
TRIANGLE_RIGHT: '\u25b6', // black right-pointing triangle
});

module.exports = UTFSequence;
export default UTFSequence;
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ module.exports = {
return require('./Libraries/Utilities/useWindowDimensions').default;
},
get UTFSequence(): UTFSequence {
return require('./Libraries/UTFSequence');
return require('./Libraries/UTFSequence').default;
},
get Vibration(): Vibration {
return require('./Libraries/Vibration/Vibration');
Expand Down

0 comments on commit ac5cf32

Please sign in to comment.