import { createColumns } from "../components/common/create-col";
import { colConfig } from "../types";



const columnConfigs: colConfig[] | [] = [
    { accessor: "title", header: "عنوان" },
    { accessor: "score", header: "امتیاز" },
    { accessor: "date", header: "تاریخ", cellRenderer: (info) => info.getValue() && <p style={{ direction: "ltr" }}>{info.getValue()}</p> },
];

export const scoresCol = createColumns<any>(columnConfigs);