Added text to card to show book author

This commit is contained in:
Ray 2023-11-07 14:15:29 +00:00 committed by GitHub
parent df5a3e4d37
commit a7a0ce8c80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@ export function Home(props) {
<ItemImage source={ book.cover_image} /> <ItemImage source={ book.cover_image} />
<Card.Body> <Card.Body>
<Card.Title>{ book.book_title }</Card.Title> <Card.Title>{ book.book_title }</Card.Title>
<Card.Text>
By {book.author}
</Card.Text>
</Card.Body> </Card.Body>
</Card> </Card>
</Col> </Col>