Files
new-api/web/src/components/Loading.js

13 lines
251 B
JavaScript
Raw Normal View History

2023-04-22 20:39:27 +08:00
import React from 'react';
2024-03-23 20:22:00 +08:00
import { Spin } from '@douyinfe/semi-ui';
2023-04-22 20:39:27 +08:00
const Loading = ({ prompt: name = 'page' }) => {
return (
2024-03-23 21:24:39 +08:00
<Spin style={{ height: 100 }} spinning={true}>
加载{name}...
</Spin>
2023-04-22 20:39:27 +08:00
);
};
export default Loading;