import { Typography } from "antd"; import { Link } from "react-router"; const { Title, Text } = Typography; export interface IChapterInfo { title: string; subTitle?: string; summary?: string; cover?: string; book?: number; para?: number; } interface IWidgetPaliChapterHeading { data: IChapterInfo; } const ChapterHeadWidget = (prop: IWidgetPaliChapterHeading) => { return ( <>