refactor: enhance UiTable styling and add header alignment for improved readability
This commit is contained in:
parent
de92703fbe
commit
061f95d4e5
@ -23,11 +23,14 @@ export const UiTable: React.FC<UiTableProperties> = ({
|
||||
<h3 className="py-1 font-semibold text-[#4C5CA0]">{title}</h3>
|
||||
<div className="rounded-lg">
|
||||
<DataTable
|
||||
className="cell-border"
|
||||
className="cell-border text-sm"
|
||||
data={data}
|
||||
columns={columns}
|
||||
slots={slots}
|
||||
options={{
|
||||
headerCallback: (thead) => {
|
||||
thead.classList.add('text-left')
|
||||
},
|
||||
paging: true,
|
||||
searching: true,
|
||||
ordering: true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user