Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat(chrome-extension): add dashboard button component
Richie McIlroy107ea7954db8
diff --git a/apps/chrome-extension/src/popup/components/dashboard-button.tsx b/apps/chrome-extension/src/popup/components/dashboard-button.tsxnew file mode 100644index 000000000..93a91b106--- /dev/null+++ b/apps/chrome-extension/src/popup/components/dashboard-button.tsx@@ -0,0 +1,19 @@+import { LayoutDashboardIcon } from "lucide-react";+import { Button } from "../ui/button";++interface DashboardButtonProps {+ onClick: () => void;+}++export const DashboardButton = ({ onClick }: DashboardButtonProps) => (+ <Button+ type="button"+ variant="outline"+ size="icon"+ aria-label="Open Cap dashboard"+ className="!p-0"+ onClick={onClick}+ >+ <LayoutDashboardIcon size={18} aria-hidden className="text-gray-12" />+ </Button>+);