We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6deb0ae commit 76db8a8Copy full SHA for 76db8a8
src/components/Loading/Loading.styles.ts
src/components/Loading/index.tsx
@@ -1,10 +1,15 @@
1
import React from 'react';
2
-import { Spinner } from './Loading.styles';
+import { Spin } from 'antd';
3
+import { LoadingOutlined } from '@ant-design/icons';
4
+
5
+const antIcon = <LoadingOutlined style={{ fontSize: 24 }} spin />;
6
7
export const Loading = () => {
8
return (
- <div>
- <Spinner />
9
+ <div className="container">
10
+ <div style={{ margin: 'auto', textAlign: 'center' }}>
11
+ <Spin indicator={antIcon} />
12
+ </div>
13
</div>
14
);
15
};
0 commit comments