19 lines
452 B
JavaScript
19 lines
452 B
JavaScript
import React from "react";
|
|
import Image from "./Image";
|
|
import Title from "./Title";
|
|
import Author from "./Author";
|
|
|
|
|
|
const Book = (props) => {
|
|
const { title, subtitle, authors, imageLinks } = props;
|
|
|
|
return (
|
|
<article>
|
|
<Image thumbnail={imageLinks.thumbnail} title={title} />
|
|
<Title title={title} subtitle={subtitle} />
|
|
<Author name={authors} />
|
|
</article>
|
|
);
|
|
};
|
|
|
|
export default Book;
|