ref(settings-dialog) Update to use new Dialog component (#12912)

* ref(settings-dialog) Update to use new Dialog component

Created new DialogWithTabs component
Refactored Dialog into Dialog and BaseDialog
Updated dialog functionality on mobile
This commit is contained in:
Robert Pintilii
2023-02-17 11:34:30 +02:00
committed by GitHub
parent 0a464a5223
commit c424884201
14 changed files with 650 additions and 291 deletions

View File

@@ -178,7 +178,14 @@ const ContextMenuItem = ({
className = { styles.contextMenuItemIcon }
size = { 20 }
src = { icon } />}
{text && <span className = { cx(styles.text, textClassName) }>{text}</span>}
{text && (
<span
className = { cx(styles.text,
_overflowDrawer && styles.drawerText,
textClassName) }>
{text}
</span>
)}
{children}
</div>
);