import './App.css';
import BooksList from './BooksList';
import BooksLoader from './BooksLoader';

const App: React.FC = () => {
  return (
    <div>
      <h1>Bücherverwaltung</h1>
      <BooksLoader>
        {(books, error) => <BooksList books={books} error={error} />}
      </BooksLoader>
    </div>
  );
};

export default App;

