[native] Reduce indentation of LoggedOutModal
Summary:
As a first step towards replacing the Reanimated 1 syntax in LoggedOutModal with Reanimated 2 syntax (ENG-8146), I'm converting the class component to a function component.
By moving the React.memo wrapper to the end, we're able to reduce the indentation.
This is the final diff in the LoggedOutModal -> function component refactor!
Depends on D12197
Test Plan:
I tested this diff stack by playing around with LoggedOutModal on my iOS simulator in my local environment:
- I navigated to LogInPanel and back
- I navigated to LegacyRegisterPanel and back
- I navigated to FullscreenSIWEPanel and back
- I navigated to QRCodeSignInNavigator and back
- I navigated to Registration and back
Reviewers: inka
Reviewed By: inka
Subscribers: tomek
Differential Revision: https://phab.comm.dev/D12198