import { ComponentProps } from "react";

export default function itleContainer({ children }: ComponentProps<"div">) {
  let classes = "w-full text-left m-auto"
  console.table(children)
  if (children == "RECORD DELETED") {
    console.log("BINGO")
    classes = classes + " text-destructive font-bold"
  }
  return <span className="h-10 flex align-center"><p className={classes}>{children}</p></span>
}
