Skip to content

Commit

Permalink
feat: add loading for markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mortalYoung committed Dec 12, 2022
1 parent 219b4f8 commit 4093410
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .dumi/theme/common/Loading.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react';
import { Skeleton } from 'antd';

export default function Loading() {
return <Skeleton title={false} active paragraph={{ rows: 3 }} />;
}
3 changes: 3 additions & 0 deletions loading.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// put it into `.dumi` folder when dumi ready
import Loading from './.dumi/theme/common/Loading';
export default Loading;

0 comments on commit 4093410

Please sign in to comment.