import React from 'react';
import './App.css';
import BookForm from './BookForm';

const book = {
  id: 1,
  title: 'JavaScript - das umfassende Handbuch',
  author: 'Philip Ackermann',
  isbn: '978-3836286299',
  rating: 5,
};
const App: React.FC = () => {
  return <BookForm onSave={(book) => console.log(book)} book={book} />;
};

export default App;

