Page MenuHomePhabricator

[native] Extract the buttons from the logged out modal
Needs ReviewPublic

Authored by tomek on Fri, Nov 29, 2:51 AM.
Tags
None
Referenced Files
F3396304: D14066.diff
Sun, Dec 1, 11:39 AM
Unknown Object (File)
Fri, Nov 29, 10:33 AM
F3385974: buttons-refactor.png
Fri, Nov 29, 2:58 AM
Subscribers

Details

Reviewers
kamil
angelika
Summary

These buttons will be used later in the stack. In theory, we could use the primary button for most of the cases, but the SIWE button is quite unique so it's safer to keep the current styling.

buttons-refactor.png (2×1 px, 1 MB)

Depends on D14064

Test Plan

Check if the logged out modal still looks correct.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

native/account/logged-out-modal.react.js
181

This prop isn't needed - the button style already specifies it

native/account/logged-out-modal.react.js
561

We don't have a list of register buttons anymore so we don't need to set this key

tomek requested review of this revision.Fri, Nov 29, 3:10 AM