chore(react/dialogs): reintroduce footer in note revisions

This commit is contained in:
Elian Doran
2025-08-06 18:01:26 +03:00
parent 0af5feab79
commit 2ad4b26c9e
3 changed files with 51 additions and 6 deletions

View File

@@ -0,0 +1,13 @@
interface ActionButtonProps {
text: string;
icon: string;
onClick?: () => void;
}
export default function ActionButton({ text, icon, onClick }: ActionButtonProps) {
return <button
class={`icon-action ${icon}`}
title={text}
onClick={onClick}
/>;
}