import { TableColumnsType } from "antd";

export const useColumns = () => {
  const columns: TableColumnsType<any> = [
    // Table.EXPAND_COLUMN,
    {
      title: "المادة",
      dataIndex: "price",
      key: "price",
      align: "center",
    },

    {
      title: "التسميعات الدورية",
      dataIndex: ["categories", "name"],
      key: "categories",
      align: "center",
    },
    {
      title: "المذاكرة الاولى",
      dataIndex: "description",
      key: "description",
      align: "center",
      ellipsis: true,
    },
    {
      title: "المذاكرة الثانية",
      dataIndex: "description",
      key: "description",
      align: "center",
      ellipsis: true,
    },
    {
      title: "الامتحان النصفي",
      dataIndex: "price",
      key: "price",
      align: "center",
    },
    {
      title: "الامتحان النهائي",
      dataIndex: "price",
      key: "price",
      align: "center",
    },
  ];

  return columns;
};
