'use client'; import { ComponentType } from 'react'; export interface QuickLogAction { type: string; label: string; icon: ComponentType; color: string; } export interface QuickLogButtonsProps { actions: QuickLogAction[]; onAction: (type: string) => void; } export function QuickLogButtons({ actions, onAction }: QuickLogButtonsProps) { return (
{actions.map(({ type, label, icon: Icon, color }) => ( ))}
); }