import { reactProps } from '../../types'; export type columns = { field: string; headerName: string; renderCell?: clReactNode; style?: React.CSSProperties; }; export interface datatableProp extends reactProps { rows: row[] | []; columns: columns[]; title: string; subTitle?: string; actionButtons?: boolean; onSelectionDelete?: (selectedRows: row[]) => void; selection?: boolean; tableheadstyle?: React.CSSProperties; tablerowstyle?: React.CSSProperties; pagination?: boolean; keysToExcludeFromView?: string[]; searchAble?: boolean; onEditBtnClick?: clfunc; onDeleteBtnClick?: clfunc; viewButton?: clReactNode; editButton?: clReactNode; deleteButton?: clReactNode; handleViewObjects?: (object: row) => React.ReactNode; excelDownload?: boolean; removefromExcel?: string[]; modalClassName?: string; modalStyle?: React.CSSProperties; }