Settings panel

Summary:
This enables opening the settings panel from Sandy. Created a small code switch in layouting to make sure it looks ok in both sandy and native dialog. Inside the settings no new components are used yet, which will be done in next diffs.

Also removed the close button from temporarily titlebar as settings are now accessible from Sandy chrome

Reviewed By: cekkaewnumchai

Differential Revision: D23812321

fbshipit-source-id: f8888373632786bb75f6dad635d300729b5086dc
This commit is contained in:
Michel Weststrate
2020-09-22 12:01:46 -07:00
committed by Facebook GitHub Bot
parent 1c3df6ed8e
commit fdd2151532
5 changed files with 95 additions and 44 deletions

View File

@@ -39,7 +39,9 @@ export function SandyApp({logger}: {logger: Logger}) {
<LeftMenu collapsed={!mainMenuVisible}>
<LeftRail />
{mainMenuVisible && (
<div style={{background: 'white', width: '100%'}}>LeftMenu</div>
<div style={{background: theme.backgroundDefault, width: '100%'}}>
LeftMenu
</div>
)}
</LeftMenu>
<MainContainer>