Update frontend/src/components/ocr/DocumentPreview.jsx
Browse files
frontend/src/components/ocr/DocumentPreview.jsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import React, { useState, useEffect, useRef } from "react";
|
| 2 |
import { motion } from "framer-motion";
|
| 3 |
-
import { FileText, ZoomIn, ZoomOut, RotateCw
|
| 4 |
import { Button } from "@/components/ui/button";
|
| 5 |
|
| 6 |
export default function DocumentPreview({ file, isProcessing }) {
|
|
@@ -134,17 +134,6 @@ export default function DocumentPreview({ file, isProcessing }) {
|
|
| 134 |
>
|
| 135 |
<RotateCw className="h-4 w-4" />
|
| 136 |
</Button>
|
| 137 |
-
<Button
|
| 138 |
-
variant="ghost"
|
| 139 |
-
size="icon"
|
| 140 |
-
className="h-8 w-8 text-slate-400 hover:text-slate-600"
|
| 141 |
-
onClick={() => {
|
| 142 |
-
setZoom(100);
|
| 143 |
-
setRotation(0);
|
| 144 |
-
}}
|
| 145 |
-
>
|
| 146 |
-
<Maximize2 className="h-4 w-4" />
|
| 147 |
-
</Button>
|
| 148 |
</div>
|
| 149 |
)}
|
| 150 |
</div>
|
|
|
|
| 1 |
import React, { useState, useEffect, useRef } from "react";
|
| 2 |
import { motion } from "framer-motion";
|
| 3 |
+
import { FileText, ZoomIn, ZoomOut, RotateCw } from "lucide-react";
|
| 4 |
import { Button } from "@/components/ui/button";
|
| 5 |
|
| 6 |
export default function DocumentPreview({ file, isProcessing }) {
|
|
|
|
| 134 |
>
|
| 135 |
<RotateCw className="h-4 w-4" />
|
| 136 |
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 137 |
</div>
|
| 138 |
)}
|
| 139 |
</div>
|