📕 Added recently imported section to dashboard

This commit is contained in:
2021-06-10 16:18:44 -07:00
parent 1cfe2b215d
commit 62b55a4bd8
9 changed files with 144 additions and 85 deletions

View File

@@ -0,0 +1,17 @@
import React from "react";
import Card from "./Card";
import { map } from "lodash";
type RecentlyImportedProps = {
comicBookCovers: any;
};
export const RecentlyImported = ({
comicBookCovers,
}: RecentlyImportedProps) => (
<section className="card-container">
{map(comicBookCovers, (cover) => {
return <Card comicBookCoversMetadata={cover.rawFileDetails} />;
})}
</section>
);