replace "View Raw" with Code Icon

This commit is contained in:
mroxso
2024-01-28 21:18:07 +01:00
parent f42e8fd614
commit a284fdf222

View File

@@ -10,13 +10,14 @@ import {
DrawerTrigger,
} from "@/components/ui/drawer"
import { Textarea } from "./ui/textarea";
import { CodeIcon } from "@radix-ui/react-icons";
export default function ViewRawButton(event: any) {
return (
<Drawer>
<DrawerTrigger>
<Button variant="outline">View Raw</Button>
<Button variant="outline"><CodeIcon /></Button>
</DrawerTrigger>
<DrawerContent>
<DrawerHeader>