mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
chore(react/dialogs): reintroduce footer in note revisions
This commit is contained in:
13
apps/client/src/widgets/react/ActionButton.tsx
Normal file
13
apps/client/src/widgets/react/ActionButton.tsx
Normal 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}
|
||||
/>;
|
||||
}
|
||||
Reference in New Issue
Block a user