refactor, added slate, added editor, added book
This commit is contained in:
parent
bc250e73bb
commit
029b7e9353
33 changed files with 714 additions and 496 deletions
17
app/client/components/PaginatedListSkeleton.tsx
Normal file
17
app/client/components/PaginatedListSkeleton.tsx
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { Skeleton, Stack } from '@chakra-ui/react';
|
||||
|
||||
export function PaginatedListSkeleton({ disableSearch }: { readonly disableSearch?: boolean }) {
|
||||
return (
|
||||
<>
|
||||
{!disableSearch && (
|
||||
<Stack direction="row" justifyContent="center" alignItems="center" gap={2}>
|
||||
<Skeleton height={10} width="80%" />
|
||||
<Skeleton height={10} width="calc(20% - 6px)" />
|
||||
</Stack>
|
||||
)}
|
||||
<Skeleton height={20} />
|
||||
<Skeleton height={20} />
|
||||
<Skeleton height={20} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue