import React from "react"; import styles from "./BookItem.module.css"; import { BookT } from "~/types/book"; import { Link } from "wouter"; interface IBookItemProps extends BookT {} export const BookItem = ({ author, title, cover, hash }: IBookItemProps) => { return (

{title}

{author}

{cover && (
{title
)}
); };