mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
add autoFitColumns config to tables
This commit is contained in:
@@ -17,6 +17,7 @@ interface SongListPaginatedTableProps extends ItemListTableComponentProps<SongLi
|
||||
export const SongListPaginatedTable = forwardRef<any, SongListPaginatedTableProps>(
|
||||
(
|
||||
{
|
||||
autoFitColumns = false,
|
||||
columns,
|
||||
enableAlternateRowColors = false,
|
||||
enableHorizontalBorders = false,
|
||||
@@ -66,6 +67,7 @@ export const SongListPaginatedTable = forwardRef<any, SongListPaginatedTableProp
|
||||
totalItemCount={totalItemCount}
|
||||
>
|
||||
<ItemTableList
|
||||
autoFitColumns={autoFitColumns}
|
||||
CellComponent={ItemTableListColumn}
|
||||
columns={columns}
|
||||
currentPage={currentPage}
|
||||
|
||||
Reference in New Issue
Block a user