import { BookParamsTypes } from "./types/BookParamsTypes";
type BookTrackerProps = {
book: BookParamsTypes[];
};
const BookTracker = ({ book }: BookTrackerProps) => (
<Container>
//...
<BookDetailed book={book}/>
//...
</Container>
);
export { BookTracker };
BookDetailed
tsConfig:
package.json: