import { Link } from "react-router"; import { Row, Col } from "antd"; import { Card } from "antd"; import { Typography } from "antd"; import StudioName from "../auth/Studio"; import type { IStudio } from "../auth/Studio"; import type { ListNodeData } from "./EditableTree"; const { Title, Text } = Typography; export interface IArticleData { id: string; title: string; subTitle: string; summary: string; created_at: string; updated_at: string; } export interface IAnthologyData { id: string; title: string; subTitle: string; summary: string; articles: ListNodeData[]; studio: IStudio; created_at: string; updated_at: string; } interface IWidgetAnthologyCard { data: IAnthologyData; } const AnthologyCardWidget = (prop: IWidgetAnthologyCard) => { const articleList = prop.data.articles.map((item, id) => { return