import React from "react";
import {
Article,
Books,
BookOpenText,
CalendarBlank,
Plus,
} from "@phosphor-icons/react";
import { Empty } from "./ui.jsx";
export function LibraryOverview({ kind, materials, onAdd, onOpenMaterial }) {
return (
Your library
{kind === "article" ? "Articles" : "Books"}
{materials.length ? (
{materials.map((material) => (
))}
) : (
{kind === "book"
? "Read a PDF, highlight a passage and ask questions with page-aware context."
: "Import a lesson written by your agent, with diagrams, math and sources."}
)}