Work on client modes

This commit is contained in:
Zef Hemel
2023-08-29 21:17:29 +02:00
parent 5ff1a8bae3
commit 9a005f26b5
54 changed files with 594 additions and 302 deletions
+2
View File
@@ -12,6 +12,7 @@ import { MiniEditor } from "./mini_editor.tsx";
export type ActionButton = {
icon: FunctionalComponent<FeatherProps>;
description: string;
class?: string;
callback: () => void;
href?: string;
};
@@ -141,6 +142,7 @@ export function TopBar({
e.stopPropagation();
}}
title={actionButton.description}
className={actionButton.class}
>
<actionButton.icon size={18} />
</button>