feat: skeleton loading

This commit is contained in:
TrèsAbhi committed 2024-06-30 19:59:32 -05:00
1 parent 6c6cf6b76d
commit 574c789233
11 files changed
+160 -84

No files matched your search

@@ -0,0 +1,18 @@
import { Skeleton, Table } from '@radix-ui/themes';
import { times } from 'lodash';
export function RowLoader() {
return (
<Table.Row>
<Table.RowHeaderCell>
<Skeleton height="100%" width="128px" />
</Table.RowHeaderCell>
{times(14, (index) => (
<Table.Cell key={index}>
<Skeleton height="1em" width="32px" />
</Table.Cell>
))}
</Table.Row>
);
}