import React from "react";
import { ArticleDetail } from "@/app/types/article";

const ArticleContent = ({ article }: { article: ArticleDetail }) => {
  return (
    <div className={"px-5 py-4 h-full"}>
      <h1 className={"text-[18px] text-[#054786] text-center font-bold"}>
        {article.title}
      </h1>
      <div dangerouslySetInnerHTML={{ __html: article.content }}></div>
    </div>
  );
};

export default ArticleContent;
