Files
supabase/apps/studio/components/interfaces/TableGridEditor/LoadingState.tsx
Alaister Young 90072a2608 chore: improve table grid loading skeleton (#29734)
* chore: improve table grid loading skeleton

* nudge by 1px

* attempt syncing shimmers
2024-10-08 16:00:15 +08:00

21 lines
458 B
TypeScript

import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader'
export const TableGridInnerLoadingState = () => {
return (
<div className="p-2 col-span-full">
<GenericSkeletonLoader />
</div>
)
}
export const TableGridSkeletonLoader = () => {
return (
<div className="flex flex-col">
<div className="h-10 bg-dash-sidebar" />
<div className="h-9 border-y" />
<TableGridInnerLoadingState />
</div>
)
}