Skip to content

Commit 4093410

Browse files
committed
feat: add loading for markdown
1 parent 219b4f8 commit 4093410

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.dumi/theme/common/Loading.tsx

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import React from 'react';
2+
import { Skeleton } from 'antd';
3+
4+
export default function Loading() {
5+
return <Skeleton title={false} active paragraph={{ rows: 3 }} />;
6+
}

loading.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// put it into `.dumi` folder when dumi ready
2+
import Loading from './.dumi/theme/common/Loading';
3+
export default Loading;

0 commit comments

Comments
 (0)