import { ReactNode } from "react"; interface Props { title: string; author: string; children: ReactNode; } const Article = ({ title, author, children }: Props) => { return (

{title}

{author}
{children}
); }; export default Article;