'use client';

import { ControlBar } from '@/ui/ControlBar';
import React from 'react';

interface AdminToolbarProps {
  children: React.ReactNode;
  leftContent?: React.ReactNode;
}

/**
 * AdminToolbar
 * 
 * Semantic toolbar for admin pages.
 * Used for filters, search, and secondary actions.
 */
export function AdminToolbar({
  children,
  leftContent
}: AdminToolbarProps) {
  return (
    <ControlBar
      leftContent={leftContent}
    >
      {children}
    </ControlBar>
  );
}
