'use client';

import React from 'react';
import { Button } from '@/components/ui/button';
import { Plus } from 'lucide-react';

interface EmployeeManagementHeaderProps {
  onAddEmployee: () => void;
}

export function EmployeeManagementHeader({
  onAddEmployee
}: EmployeeManagementHeaderProps) {
  return (
    <div className="flex items-center justify-between">
      <div>
        <h2 className="text-green-800">员工管理</h2>
        <p className="text-muted-foreground">管理本企业员工账户体系</p>
      </div>
      <Button onClick={onAddEmployee}>
        <Plus className="w-4 h-4 mr-2" />
        添加员工
      </Button>
    </div>
  );
}