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