'use client'; import { ReactNode } from 'react'; import IconButton from './IconButton'; interface Props { title: string; showAdd?: boolean; onToggleAdd?: () => void; addOpen?: boolean; t: (key: string) => string; children?: ReactNode; } export default function PageActionBar({ title, showAdd, onToggleAdd, addOpen, t, children }: Props) { return (