import ImportButton from "./ImportButton";
import type { CharacterData } from '../../../types/CharacterJson.ts';

interface HeaderProps {
  onFileLoad: (data: CharacterData) => void;
}

export default function Header({ onFileLoad }: HeaderProps) {
  return (
      <header className="bg-gray-800">
        <nav className="container mx-auto flex justify-between items-center py-6 px-6">
          <ImportButton onFileLoad={onFileLoad}/>
        </nav>
      </header>
  )
}
