From 526d2b87a57eb23018fc91632b7746c16e3658ce Mon Sep 17 00:00:00 2001 From: alma Date: Thu, 17 Apr 2025 13:50:11 +0200 Subject: [PATCH] solve mail backend 2 --- components/mail/mail-toolbar.tsx | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 components/mail/mail-toolbar.tsx diff --git a/components/mail/mail-toolbar.tsx b/components/mail/mail-toolbar.tsx new file mode 100644 index 00000000..96048531 --- /dev/null +++ b/components/mail/mail-toolbar.tsx @@ -0,0 +1,34 @@ +import { Button } from '@/components/ui/button'; +import { Input } from '@/components/ui/input'; +import { Search, RefreshCw, Plus } from 'lucide-react'; + +interface MailToolbarProps { + onCompose?: () => void; + onRefresh?: () => void; + onSearch?: (query: string) => void; +} + +export const MailToolbar = ({ onCompose, onRefresh, onSearch }: MailToolbarProps) => { + return ( +
+
+ + +
+
+
+ + onSearch?.(e.target.value)} + /> +
+
+
+ ); +}; \ No newline at end of file