Skip to content

Commit

Permalink
Merge pull request #1990 from deepfence/ui-add-skeleton-testid
Browse files Browse the repository at this point in the history
Add data-testid
  • Loading branch information
milan-deepfence authored Feb 22, 2024
2 parents 2aa1839 + 393303e commit 8752e45
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,16 @@ export const TableSkeleton: React.FC<TableSkeletonProps> = ({
rows,
className,
size = 'default',
...props
}) => (
<div
className={cn(
`overflow-x-auto overflow-y-hidden`,
`rounded-[5px] dark:border dark:border-bg-grid-border`,
className,
)}
data-testid={'tableSkeletonWrapperId'}
{...props}
>
<table
className="w-full bg-white dark:bg-bg-grid-default border-spacing-0 border-collapse"
Expand Down

0 comments on commit 8752e45

Please sign in to comment.