mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-13 00:02:30 +10:00
17 lines
394 B
TypeScript
17 lines
394 B
TypeScript
import { Button, Group } from '@mantine/core';
|
|
|
|
type CommentActionsProps = {
|
|
onSave: () => void;
|
|
isLoading?: boolean;
|
|
};
|
|
|
|
function CommentActions({ onSave, isLoading }: CommentActionsProps) {
|
|
return (
|
|
<Group justify="flex-end" pt={2} wrap="nowrap">
|
|
<Button size="compact-sm" loading={isLoading} onClick={onSave}>Save</Button>
|
|
</Group>
|
|
);
|
|
}
|
|
|
|
export default CommentActions;
|