mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat: add list skeleton in public workspace (#1278)
This commit is contained in:
13
packages/component/src/components/ListSkeleton.tsx
Normal file
13
packages/component/src/components/ListSkeleton.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Skeleton } from '@mui/material';
|
||||
import { memo } from 'react';
|
||||
|
||||
export const ListSkeleton = memo(function ListItemSkeleton() {
|
||||
return (
|
||||
<>
|
||||
<Skeleton animation="wave" height={40} />
|
||||
<Skeleton animation="wave" height={40} />
|
||||
<Skeleton animation="wave" height={40} />
|
||||
<Skeleton animation="wave" height={40} />
|
||||
</>
|
||||
);
|
||||
});
|
||||
@@ -1,4 +1,5 @@
|
||||
// export * from './components/BlockSuiteEditor';
|
||||
export * from './components/ListSkeleton';
|
||||
export * from './styles';
|
||||
export * from './ui/breadcrumbs';
|
||||
export * from './ui/button';
|
||||
|
||||
Reference in New Issue
Block a user