mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-11-26 10:19:29 +00:00
refactor: reorder arguments in web ui
This commit is contained in:
1 parent
d7984c12f0
commit
5e090cebdb
61 files changed
+547
-578
No files matched your search
@@ -28,7 +28,7 @@ interface DialogHeaderProps {
|
||||
}
|
||||
|
||||
export default function DialogHeader({ children, onClose, sx }: DialogHeaderProps): React.JSX.Element {
|
||||
return <DialogTitle sx={{ display: "flex", alignItems: "center", justifyContent: "space-between", ...sx }}>
|
||||
return <DialogTitle sx={{ alignItems: "center", display: "flex", justifyContent: "space-between", ...sx }}>
|
||||
{children}
|
||||
<IconButton aria-label="Close" onClick={onClose} size="small" sx={{ color: "inherit" }}>
|
||||
<CloseIcon />
|
||||
|
||||
Reference in new issue
Block a user