import TextLoading from "@/app/component/loading/Text";
import React from "react";

function ContentDetail({ head, children }) {
  return (
    <div className="my-[24px]">
      <TextLoading width={200} height={20}>
        <h1 className="text-[#3B3B3B] text-[20px] font-bold">{head}</h1>
      </TextLoading>
      <div className="mt-[16px]">{children}</div>
    </div>
  );
}

export default ContentDetail;
