-
{
- handleVersionChange('prev');
- }}
- >
-
-
-
{
- handleVersionChange('next');
- }}
- >
-
-
-
{
- handleVersionChange('toggle');
- }}
- >
-
-
+
+
+ {
+ copyToClipboard(canvas.content);
+ toast.success('Copied to clipboard!');
+ }}
+ >
+
+
+
+ Copy to clipboard
+
+
+
+ {
+ handleVersionChange('prev');
+ }}
+ >
+
+
+
+ View Previous version
+
+
+
+ {
+ handleVersionChange('next');
+ }}
+ >
+
+
+
+ View Next version
+
+
+
+ {
+ handleVersionChange('toggle');
+ }}
+ >
+
+
+
+ View changes
+
@@ -468,6 +510,19 @@ export function Canvas({
{suggestions ? (