mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 07:45:47 +00:00
refactor(FE): Refactor skeleton components to remove default columns
This commit is contained in:
@@ -8,7 +8,7 @@ const ClosingTabSkeleton = <T extends object>({
|
||||
title,
|
||||
subtitle,
|
||||
}: {
|
||||
columns: ColumnDef<T>[];
|
||||
columns: ColumnDef<T, unknown>[];
|
||||
icon: React.ReactNode;
|
||||
title: string;
|
||||
subtitle: string;
|
||||
@@ -17,7 +17,7 @@ const ClosingTabSkeleton = <T extends object>({
|
||||
<div className='relative size-full'>
|
||||
<Table
|
||||
data={[]}
|
||||
columns={columns as ColumnDef<T>[]}
|
||||
columns={columns}
|
||||
isLoading={true}
|
||||
className={{
|
||||
skeletonCellClassName: 'animate-none w-full h-5 bg-base-content/4',
|
||||
|
||||
Reference in New Issue
Block a user