-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert SafeAreaView to ES Module #31344
Conversation
Base commit: a15a46c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than that, this looks good to me! Thank you for working on this!!
@@ -58,4 +58,4 @@ if (Platform.OS === 'android') { | |||
); | |||
} | |||
|
|||
module.exports = exported; | |||
export default exported; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe it's clearer to rename this to SafeAreaView?
@lunaleaps has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
1 similar comment
@lunaleaps has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@lunaleaps merged this pull request in d9a86aa. |
Thanks @franzon for your contribution! |
Sorry accidentally clicked "Reopen and comment" lol |
Summary: Convert SafeAreaView to ES Module (facebook#31330). ## Changelog [General] [Changed] - Converted `SafeAreaView` to ES Module. Pull Request resolved: facebook#31344 Test Plan: Tested that `npm test` passes. Reviewed By: kacieb Differential Revision: D27767463 Pulled By: lunaleaps fbshipit-source-id: fd3aee58ae6d621a292ff3360d8833f5e5007d52
Summary
Convert SafeAreaView to ES Module (#31330).
Changelog
[General] [Changed] - Converted
SafeAreaView
to ES Module.Test Plan
Tested that
npm test
passes.