diff --git a/src/components/event-actions-toolbar.tsx b/src/components/event-actions-toolbar.tsx index d9193c5..bc87528 100644 --- a/src/components/event-actions-toolbar.tsx +++ b/src/components/event-actions-toolbar.tsx @@ -1,3 +1,6 @@ +"use client"; + +import { CalendarPlus, Download, FileUp, Trash2 } from "lucide-react"; import { IcsFilePicker } from "@/components/ics-file-picker"; import { Button } from "@/components/ui/button"; import type { CalendarEvent } from "@/lib/types"; @@ -18,25 +21,47 @@ export const EventActionsToolbar = ({ onClearAll, }: EventActionsToolbarProps) => { return ( - <> - {/* Control Toolbar */} -

Event Actions

-
- - - Import .ics - - {events.length > 0 && ( - <> - - - - )} -
- +
+ + + + + + Import + + + + {events.length > 0 && ( + <> + + + + )} + + {events.length > 0 && ( + + {events.length} event{events.length !== 1 ? "s" : ""} + + )} +
); };