theme - modals, react select, tables

This commit is contained in:
Jan Prochazka
2020-11-12 14:20:02 +01:00
parent a49f429f13
commit a8d88d05db
17 changed files with 148 additions and 83 deletions

View File

@@ -108,7 +108,7 @@ export default function ToolBar({ toolbarPortalRef }) {
Import data
</ToolbarButton>
<ToolbarButton onClick={switchTheme} icon="icon theme">
Switch theme
{currentTheme == 'dark' ? 'Light mode' : 'Dark mode'}
</ToolbarButton>
<ToolbarContainer ref={toolbarPortalRef}></ToolbarContainer>